ocamlPackages.otfm: 0.3.0 → 0.4.0
This commit is contained in:
parent
b3cf173856
commit
6f05af913c
2 changed files with 7 additions and 7 deletions
|
@ -1,26 +1,25 @@
|
|||
{ lib, stdenv, fetchurl, ocaml, findlib, ocamlbuild, topkg, uutf, result }:
|
||||
{ lib, stdenv, fetchurl, ocaml, findlib, ocamlbuild, topkg, uutf }:
|
||||
|
||||
let
|
||||
pname = "otfm";
|
||||
version = "0.3.0";
|
||||
version = "0.4.0";
|
||||
webpage = "https://erratique.ch/software/${pname}";
|
||||
in
|
||||
|
||||
assert lib.versionAtLeast ocaml.version "4.01.0";
|
||||
|
||||
stdenv.mkDerivation {
|
||||
|
||||
name = "ocaml-${pname}-${version}";
|
||||
pname = "ocaml${ocaml.version}-${pname}";
|
||||
inherit version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "${webpage}/releases/${pname}-${version}.tbz";
|
||||
sha256 = "054s82539k3kc9na6s47g3scsl04icjahpas7pv5351jmsgqcq3k";
|
||||
hash = "sha256-02U23mYTy0ZJgSObDoyygPTGEMC4/Zge5bux4wshaEE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ ocaml findlib ocamlbuild topkg ];
|
||||
buildInputs = [ topkg ];
|
||||
|
||||
propagatedBuildInputs = [ uutf result ];
|
||||
propagatedBuildInputs = [ uutf ];
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
|
|
|
@ -17,6 +17,7 @@ let
|
|||
rev = "v0.3.7+satysfi";
|
||||
sha256 = "0y8s0ij1vp1s4h5y1hn3ns76fzki2ba5ysqdib33akdav9krbj8p";
|
||||
};
|
||||
propagatedBuildInputs = o.propagatedBuildInputs ++ [ ocamlPackages.result ];
|
||||
});
|
||||
yojson-with-position = ocamlPackages.buildDunePackage {
|
||||
pname = "yojson-with-position";
|
||||
|
|
Loading…
Reference in a new issue