nixpkgs/pkgs/development/ocaml-modules/cpuid/default.nix

23 lines
538 B
Nix
Raw Permalink Normal View History

2019-11-22 23:55:56 -08:00
{ lib, fetchurl, buildDunePackage }:
2019-11-22 23:55:56 -08:00
buildDunePackage rec {
pname = "cpuid";
version = "0.1.2";
2021-03-28 13:22:34 -07:00
useDune2 = true;
2019-11-22 23:55:56 -08:00
minimumOCamlVersion = "4.03";
src = fetchurl {
2019-11-22 23:55:56 -08:00
url = "https://github.com/pqwy/cpuid/releases/download/v${version}/cpuid-v${version}.tbz";
sha256 = "08ng4mva6qblb5ipkrxbr0my7ndkc4qwcbswkqgbgir864s74m93";
};
meta = {
homepage = "https://github.com/pqwy/cpuid";
description = "Detect CPU features from OCaml";
2019-11-22 23:55:56 -08:00
license = lib.licenses.isc;
maintainers = [ lib.maintainers.vbgl ];
};
}