ocamlPackages.cpuid: 0.1.0 -> 0.1.2
This commit is contained in:
parent
2693fa4cea
commit
5a40ccfa65
@ -1,16 +1,17 @@
|
|||||||
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, topkg, ocb-stubblr }:
|
{ stdenv, fetchFromGitHub, ocaml, findlib, ocamlbuild, topkg, ocb-stubblr, buildDunePackage }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
buildDunePackage rec {
|
||||||
name = "ocaml${ocaml.version}-cpuid-0.1.0";
|
pname = "cpuid";
|
||||||
|
version = "0.1.2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = https://github.com/pqwy/cpuid/releases/download/v0.1.0/cpuid-0.1.0.tbz;
|
owner = "pqwy";
|
||||||
sha256 = "08k2558a3dnxn8msgpz8c93sfn0y027ganfdi2yvql0fp1ixv97p";
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "04zqlvy608kj9pn48q5zybz62rlwzyfmadpwjhcxwcx28km528r4";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ ocaml findlib ocamlbuild topkg ocb-stubblr ];
|
#buildInputs = [ ocb-stubblr ];
|
||||||
|
|
||||||
inherit (topkg) buildPhase installPhase;
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = https://github.com/pqwy/cpuid;
|
homepage = https://github.com/pqwy/cpuid;
|
||||||
|
Loading…
Reference in New Issue
Block a user