ocamlPackages.stdint: 0.5.1 -> 0.6.0
This commit is contained in:
parent
5458a38e61
commit
48d7d3afed
1 changed files with 6 additions and 12 deletions
|
@ -1,26 +1,20 @@
|
||||||
{ stdenv, fetchFromGitHub, ocaml, findlib, dune }:
|
{ stdenv, fetchFromGitHub, buildDunePackage }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
buildDunePackage rec {
|
||||||
pname = "stdint";
|
pname = "stdint";
|
||||||
name = "ocaml${ocaml.version}-${pname}-${version}";
|
version = "0.6.0";
|
||||||
version = "0.5.1";
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "andrenth";
|
owner = "andrenth";
|
||||||
repo = "ocaml-stdint";
|
repo = "ocaml-stdint";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "0z2z77m3clna9m9k0f8fd1400cdlglvy1kr893qs3907b3v0c057";
|
sha256 = "19ccxs0vij81vyc9nqc9kbr154ralb9dgc2y2nr71a5xkx6xfn0y";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ ocaml findlib dune ];
|
|
||||||
|
|
||||||
buildPhase = "dune build -p ${pname}";
|
|
||||||
inherit (dune) installPhase;
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Various signed and unsigned integers for OCaml";
|
description = "Various signed and unsigned integers for OCaml";
|
||||||
|
homepage = "https://github.com/andrenth/ocaml-stdint";
|
||||||
license = stdenv.lib.licenses.mit;
|
license = stdenv.lib.licenses.mit;
|
||||||
maintainers = [ stdenv.lib.maintainers.gebner ];
|
maintainers = [ stdenv.lib.maintainers.gebner ];
|
||||||
inherit (src.meta) homepage;
|
|
||||||
inherit (ocaml.meta) platforms;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue