at 24.11-pre 22 lines 538 B view raw
1{ lib, fetchurl, buildDunePackage }: 2 3buildDunePackage rec { 4 pname = "cpuid"; 5 version = "0.1.2"; 6 7 useDune2 = true; 8 9 minimumOCamlVersion = "4.03"; 10 11 src = fetchurl { 12 url = "https://github.com/pqwy/cpuid/releases/download/v${version}/cpuid-v${version}.tbz"; 13 sha256 = "08ng4mva6qblb5ipkrxbr0my7ndkc4qwcbswkqgbgir864s74m93"; 14 }; 15 16 meta = { 17 homepage = "https://github.com/pqwy/cpuid"; 18 description = "Detect CPU features from OCaml"; 19 license = lib.licenses.isc; 20 maintainers = [ lib.maintainers.vbgl ]; 21 }; 22}