mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-27 02:34:53 +00:00
47 lines
790 B
Nix
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 ];
|
|
};
|
|
})
|