Files
nixpkgs/pkgs/development/ocaml-modules/conan/default.nix
2026-03-06 15:18:17 +01:00

47 lines
790 B
Nix

{
lib,
fetchurl,
buildDunePackage,
ptime,
re,
uutf,
alcotest,
crowbar,
fmt,
rresult,
}:
buildDunePackage (finalAttrs: {
pname = "conan";
version = "0.0.7";
src = fetchurl {
url = "https://github.com/mirage/conan/releases/download/v${finalAttrs.version}/conan-${finalAttrs.version}.tbz";
hash = "sha256-4ZbyGLnPRImRQ8vO71i+jlEWYB/FJCSelY7uBuH4dBU=";
};
propagatedBuildInputs = [
ptime
re
uutf
];
doCheck = true;
checkInputs = [
alcotest
crowbar
fmt
rresult
];
minimalOCamlVersion = "4.12";
meta = {
description = "Identify type of your file (such as the MIME type)";
homepage = "https://github.com/mirage/conan";
license = lib.licenses.bsd2;
maintainers = [ lib.maintainers.vbgl ];
};
})