depot/pkgs/development/ocaml-modules/cpuid/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

22 lines
538 B
Nix

{ lib, fetchurl, buildDunePackage }:
buildDunePackage rec {
pname = "cpuid";
version = "0.1.2";
useDune2 = true;
minimalOCamlVersion = "4.03";
src = fetchurl {
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";
license = lib.licenses.isc;
maintainers = [ lib.maintainers.vbgl ];
};
}