mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 11:13:30 +00:00
f0b078ef9d
* ocamlPackages.hxd: 0.2.0 -> 0.3.1 ocamlPackages.hxd: disable lwt by default on OCaml 4.06 (syntax error) * ocamlPackages.duff: 0.3 -> 0.4 * ocamlPackages.decompress: 1.2.0 -> 1.3.0 Keep decompress 1.2.0 around as decompress-1-2 until imagelib supports decompress 1.3.0: https://github.com/rlepigre/ocaml-imagelib/issues/49 * ocamlPackages.carton*: 0.2.0 -> 0.4.0 * ocamlPackages.git: 3.3.0 -> 3.3.2
29 lines
739 B
Nix
29 lines
739 B
Nix
{ lib, fetchurl, buildDunePackage
|
|
, checkseum, bigarray-compat, optint
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
version = "1.2.0";
|
|
pname = "decompress";
|
|
|
|
minimumOCamlVersion = "4.07";
|
|
|
|
useDune2 = true;
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/mirage/decompress/releases/download/v${version}/decompress-v${version}.tbz";
|
|
sha256 = "1c3sq9a6kpzl0pj3gmg7w18ssjjl70yv0r3l7qjprcncjx23v62i";
|
|
};
|
|
|
|
propagatedBuildInputs = [ optint bigarray-compat checkseum ];
|
|
# required hxd version is not available in nixpkgs
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
description = "Pure OCaml implementation of Zlib";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
homepage = "https://github.com/mirage/decompress";
|
|
};
|
|
}
|