diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2019-10-08 19:54:25 +0000 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2019-10-16 02:42:25 +0000 |
commit | 8dd417eed6360db9171aa57b0b2714d671f11674 (patch) | |
tree | 5304688f79f91de866b2370bcb88c8d8db7d86a8 /pkgs/development/ocaml-modules/lru | |
parent | fce8b4837ae1eb74aef36968b93e9776f8715154 (diff) | |
download | nixpkgs-8dd417eed6360db9171aa57b0b2714d671f11674.tar nixpkgs-8dd417eed6360db9171aa57b0b2714d671f11674.tar.gz nixpkgs-8dd417eed6360db9171aa57b0b2714d671f11674.tar.bz2 nixpkgs-8dd417eed6360db9171aa57b0b2714d671f11674.tar.lz nixpkgs-8dd417eed6360db9171aa57b0b2714d671f11674.tar.xz nixpkgs-8dd417eed6360db9171aa57b0b2714d671f11674.tar.zst nixpkgs-8dd417eed6360db9171aa57b0b2714d671f11674.zip |
ocamlPackages.lru: 0.2.0 → 0.3.0
ocamlPackages.psq: 0.1.0 → 0.2.0
Diffstat (limited to 'pkgs/development/ocaml-modules/lru')
-rw-r--r-- | pkgs/development/ocaml-modules/lru/default.nix | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/pkgs/development/ocaml-modules/lru/default.nix b/pkgs/development/ocaml-modules/lru/default.nix index d6ff1721199..e5c7937b27a 100644 --- a/pkgs/development/ocaml-modules/lru/default.nix +++ b/pkgs/development/ocaml-modules/lru/default.nix @@ -1,25 +1,20 @@ -{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, topkg, psq }: +{ lib, fetchurl, buildDunePackage, psq }: -stdenv.mkDerivation rec { - name = "ocaml${ocaml.version}-lru-${version}"; - version = "0.2.0"; +buildDunePackage rec { + pname = "lru"; + version = "0.3.0"; src = fetchurl { - url = "https://github.com/pqwy/lru/releases/download/v${version}/lru-${version}.tbz"; - sha256 = "0bd7js9rrma1fjjjjc3fgr9l5fjbhgihx2nsaf96g2b35iiaimd0"; + url = "https://github.com/pqwy/lru/releases/download/v${version}/lru-v${version}.tbz"; + sha256 = "1ab9rd7cq15ml8x0wjl44wy99h5z7x4g9vkkz4i2d7n84ghy7vw4"; }; - buildInputs = [ ocaml findlib ocamlbuild topkg ]; - propagatedBuildInputs = [ psq ]; - inherit (topkg) buildPhase installPhase; - meta = { homepage = "https://github.com/pqwy/lru"; description = "Scalable LRU caches for OCaml"; - maintainers = [ stdenv.lib.maintainers.vbgl ]; - license = stdenv.lib.licenses.isc; - inherit (ocaml.meta) platforms; + maintainers = [ lib.maintainers.vbgl ]; + license = lib.licenses.isc; }; } |