mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
ocamlPackages.imagelib: init at 20171028 (#40910)
This commit is contained in:
parent
ca556c4def
commit
cc2ac8a39e
26
pkgs/development/ocaml-modules/imagelib/default.nix
Normal file
26
pkgs/development/ocaml-modules/imagelib/default.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{ stdenv, fetchFromGitHub, which, ocaml, findlib, ocamlbuild, decompress }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "20171028";
|
||||
name = "ocaml${ocaml.version}-imagelib-${version}";
|
||||
src = fetchFromGitHub {
|
||||
owner = "rlepigre";
|
||||
repo = "ocaml-imagelib";
|
||||
rev = "ocaml-imagelib_${version}";
|
||||
sha256 = "1frkrgcrv4ybdmqcfxpfsywx0hm1arxgxp32n8kzky6qip1g0zxf";
|
||||
};
|
||||
|
||||
buildInputs = [ which ocaml findlib ocamlbuild ];
|
||||
|
||||
propagatedBuildInputs = [ decompress ];
|
||||
|
||||
createFindlibDestdir = true;
|
||||
|
||||
meta = {
|
||||
description = "Image formats such as PNG and PPM in OCaml";
|
||||
license = stdenv.lib.licenses.lgpl3;
|
||||
maintainers = [ stdenv.lib.maintainers.vbgl ];
|
||||
inherit (src.meta) homepage;
|
||||
inherit (ocaml.meta) platforms;
|
||||
};
|
||||
}
|
@ -269,6 +269,8 @@ let
|
||||
|
||||
higlo = callPackage ../development/ocaml-modules/higlo { };
|
||||
|
||||
imagelib = callPackage ../development/ocaml-modules/imagelib { };
|
||||
|
||||
inotify = callPackage ../development/ocaml-modules/inotify { };
|
||||
|
||||
integers = callPackage ../development/ocaml-modules/integers { };
|
||||
|
Loading…
Reference in New Issue
Block a user