nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 22 lines 521 B view raw
1{ 2 lib, 3 fetchurl, 4 buildDunePackage, 5}: 6 7buildDunePackage (finalAttrs: { 8 pname = "cpuid"; 9 version = "0.1.2"; 10 11 src = fetchurl { 12 url = "https://github.com/pqwy/cpuid/releases/download/v${finalAttrs.version}/cpuid-v${finalAttrs.version}.tbz"; 13 hash = "sha256-I1VyNDEox7cenlwvxjFhs9njK8ir53ljWXRho3YlzyI="; 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})