mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
ocp-indent: 1.5.2 -> 1.6.0
This commit is contained in:
parent
56a4aaf4df
commit
97b3def8cf
@ -3,18 +3,21 @@
|
||||
let inherit (stdenv.lib) getVersion versionAtLeast; in
|
||||
|
||||
assert versionAtLeast (getVersion ocaml) "3.12.1";
|
||||
assert versionAtLeast (getVersion cmdliner) "1.0.0";
|
||||
assert versionAtLeast (getVersion ocpBuild) "1.99.6-beta";
|
||||
|
||||
stdenv.mkDerivation {
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
name = "ocp-indent-1.5.2";
|
||||
name = "ocp-indent-${version}";
|
||||
version = "1.6.0";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/OCamlPro/ocp-indent/archive/1.5.2.tar.gz";
|
||||
sha256 = "0ynv2yhm7akpvqp72pdabhddwr352s1k85q8m1khsvspgg1mkiqz";
|
||||
url = "https://github.com/OCamlPro/ocp-indent/archive/${version}.tar.gz";
|
||||
sha256 = "1h9y597s3ag8w1z32zzv4dfk3ppq557s55bnlfw5a5wqwvia911f";
|
||||
};
|
||||
|
||||
buildInputs = [ ocaml findlib ocpBuild opam cmdliner ];
|
||||
nativeBuildInputs = [ ocpBuild opam ];
|
||||
buildInputs = [ ocaml findlib cmdliner ];
|
||||
|
||||
createFindlibDestdir = true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user