diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2020-10-09 22:15:39 +0200 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2020-10-16 12:33:38 +0200 |
commit | 0385e6094f4cfad912c011d4a10f99afde0aef71 (patch) | |
tree | 2124823cc1d0b61a3818c03cc2e5831bfeb5ad4d /pkgs/development/ocaml-modules | |
parent | 1d3b373443e9e364a46c8385365868610ef32f90 (diff) | |
download | nixpkgs-0385e6094f4cfad912c011d4a10f99afde0aef71.tar nixpkgs-0385e6094f4cfad912c011d4a10f99afde0aef71.tar.gz nixpkgs-0385e6094f4cfad912c011d4a10f99afde0aef71.tar.bz2 nixpkgs-0385e6094f4cfad912c011d4a10f99afde0aef71.tar.lz nixpkgs-0385e6094f4cfad912c011d4a10f99afde0aef71.tar.xz nixpkgs-0385e6094f4cfad912c011d4a10f99afde0aef71.tar.zst nixpkgs-0385e6094f4cfad912c011d4a10f99afde0aef71.zip |
ocamlPackages.camlimages: 5.0.1 → 5.0.3
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r-- | pkgs/development/ocaml-modules/camlimages/default.nix | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/pkgs/development/ocaml-modules/camlimages/default.nix b/pkgs/development/ocaml-modules/camlimages/default.nix index 1ea3e78a06b..5874e7a52d3 100644 --- a/pkgs/development/ocaml-modules/camlimages/default.nix +++ b/pkgs/development/ocaml-modules/camlimages/default.nix @@ -1,21 +1,27 @@ -{ lib, fetchzip, buildDunePackage, configurator, cppo, lablgtk }: +{ lib, fetchFromGitLab, buildDunePackage, dune-configurator, cppo, lablgtk, stdio }: buildDunePackage rec { pname = "camlimages"; - version = "5.0.1"; + version = "5.0.3"; - src = fetchzip { - url = "https://bitbucket.org/camlspotter/${pname}/get/${version}.tar.gz"; - sha256 = "1figrgzsdrrxzfza0bhz0225g1rwawdf5x2m9lw2kzrdb815khs5"; + useDune2 = true; + + minimumOCamlVersion = "4.07"; + + src = fetchFromGitLab { + owner = "camlspotter"; + repo = pname; + rev = version; + sha256 = "1ng9pkvrzlibfyf97iqvmbsqcykz8v1ln106xhq9nigih5i68zyd"; }; - buildInputs = [ configurator cppo lablgtk ]; + buildInputs = [ dune-configurator cppo lablgtk stdio ]; meta = with lib; { branch = "5.0"; - homepage = "https://bitbucket.org/camlspotter/camlimages"; + inherit (src.meta) homepage; description = "OCaml image processing library"; - license = licenses.gpl2; + license = licenses.lgpl2; maintainers = [ maintainers.vbgl maintainers.mt-caret ]; }; } |