2019-11-23 07:55:56 +00:00
|
|
|
{ lib, fetchurl, buildDunePackage }:
|
2017-03-13 20:17:29 +00:00
|
|
|
|
2019-11-23 07:55:56 +00:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "cpuid";
|
|
|
|
version = "0.1.2";
|
|
|
|
|
|
|
|
minimumOCamlVersion = "4.03";
|
2017-03-13 20:17:29 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-11-23 07:55:56 +00:00
|
|
|
url = "https://github.com/pqwy/cpuid/releases/download/v${version}/cpuid-v${version}.tbz";
|
|
|
|
sha256 = "08ng4mva6qblb5ipkrxbr0my7ndkc4qwcbswkqgbgir864s74m93";
|
2017-03-13 20:17:29 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/pqwy/cpuid";
|
2017-03-13 20:17:29 +00:00
|
|
|
description = "Detect CPU features from OCaml";
|
2019-11-23 07:55:56 +00:00
|
|
|
license = lib.licenses.isc;
|
|
|
|
maintainers = [ lib.maintainers.vbgl ];
|
2017-03-13 20:17:29 +00:00
|
|
|
};
|
|
|
|
}
|