summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/cpuid/default.nix
blob: 6c7ecaa4b7a6f52b327f64b84604870396be0962 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ lib, fetchurl, buildDunePackage }:

buildDunePackage rec {
  pname = "cpuid";
  version = "0.1.2";

  minimumOCamlVersion = "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 ];
  };
}