diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2020-01-14 09:30:23 +0100 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2020-01-21 07:27:28 +0100 |
commit | cacbe5f3427244c96fe9177580cdd4d0ced59989 (patch) | |
tree | 90a5326bd88ffe8008c8e941911682631d660421 /pkgs/development/ocaml-modules/stdint/default.nix | |
parent | f37db11fa7b760a650ea00cfb63ec6584c379c6e (diff) | |
download | nixpkgs-cacbe5f3427244c96fe9177580cdd4d0ced59989.tar nixpkgs-cacbe5f3427244c96fe9177580cdd4d0ced59989.tar.gz nixpkgs-cacbe5f3427244c96fe9177580cdd4d0ced59989.tar.bz2 nixpkgs-cacbe5f3427244c96fe9177580cdd4d0ced59989.tar.lz nixpkgs-cacbe5f3427244c96fe9177580cdd4d0ced59989.tar.xz nixpkgs-cacbe5f3427244c96fe9177580cdd4d0ced59989.tar.zst nixpkgs-cacbe5f3427244c96fe9177580cdd4d0ced59989.zip |
ocamlPackages.stdint: disable for OCaml < 4.07
Diffstat (limited to 'pkgs/development/ocaml-modules/stdint/default.nix')
-rw-r--r-- | pkgs/development/ocaml-modules/stdint/default.nix | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/development/ocaml-modules/stdint/default.nix b/pkgs/development/ocaml-modules/stdint/default.nix index a36d84ffa3a..bffef61956e 100644 --- a/pkgs/development/ocaml-modules/stdint/default.nix +++ b/pkgs/development/ocaml-modules/stdint/default.nix @@ -1,9 +1,11 @@ -{ stdenv, fetchFromGitHub, buildDunePackage }: +{ lib, fetchFromGitHub, buildDunePackage }: buildDunePackage rec { pname = "stdint"; version = "0.6.0"; + minimumOCamlVersion = "4.07"; + src = fetchFromGitHub { owner = "andrenth"; repo = "ocaml-stdint"; @@ -14,7 +16,7 @@ buildDunePackage rec { meta = { description = "Various signed and unsigned integers for OCaml"; homepage = "https://github.com/andrenth/ocaml-stdint"; - license = stdenv.lib.licenses.mit; - maintainers = [ stdenv.lib.maintainers.gebner ]; + license = lib.licenses.mit; + maintainers = [ lib.maintainers.gebner ]; }; } |