ocamlPackages.cpuid: 0.1.0 -> 0.1.2

This commit is contained in:
Yorick van Pelt 2019-10-31 17:25:44 +07:00 committed by Alexander Bantyev
parent 2693fa4cea
commit 5a40ccfa65
No known key found for this signature in database
GPG Key ID: E081FF12ADCB4AD5

View File

@ -1,16 +1,17 @@
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, topkg, ocb-stubblr }:
{ stdenv, fetchFromGitHub, ocaml, findlib, ocamlbuild, topkg, ocb-stubblr, buildDunePackage }:
stdenv.mkDerivation {
name = "ocaml${ocaml.version}-cpuid-0.1.0";
buildDunePackage rec {
pname = "cpuid";
version = "0.1.2";
src = fetchurl {
url = https://github.com/pqwy/cpuid/releases/download/v0.1.0/cpuid-0.1.0.tbz;
sha256 = "08k2558a3dnxn8msgpz8c93sfn0y027ganfdi2yvql0fp1ixv97p";
src = fetchFromGitHub {
owner = "pqwy";
repo = pname;
rev = "v${version}";
sha256 = "04zqlvy608kj9pn48q5zybz62rlwzyfmadpwjhcxwcx28km528r4";
};
buildInputs = [ ocaml findlib ocamlbuild topkg ocb-stubblr ];
inherit (topkg) buildPhase installPhase;
#buildInputs = [ ocb-stubblr ];
meta = {
homepage = https://github.com/pqwy/cpuid;