Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 fetchurl, 4 buildDunePackage, 5}: 6 7buildDunePackage rec { 8 pname = "cpuid"; 9 version = "0.1.2"; 10 11 useDune2 = true; 12 13 minimalOCamlVersion = "4.03"; 14 15 src = fetchurl { 16 url = "https://github.com/pqwy/cpuid/releases/download/v${version}/cpuid-v${version}.tbz"; 17 sha256 = "08ng4mva6qblb5ipkrxbr0my7ndkc4qwcbswkqgbgir864s74m93"; 18 }; 19 20 meta = { 21 homepage = "https://github.com/pqwy/cpuid"; 22 description = "Detect CPU features from OCaml"; 23 license = lib.licenses.isc; 24 maintainers = [ lib.maintainers.vbgl ]; 25 }; 26}