mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-11-05 12:20:47 +00:00
33 lines
749 B
Nix
33 lines
749 B
Nix
{
|
|
lib,
|
|
fetchurl,
|
|
buildDunePackage,
|
|
ocaml,
|
|
astring,
|
|
ounit,
|
|
}:
|
|
|
|
buildDunePackage (finalAttrs: {
|
|
pname = "parse-argv";
|
|
version = "0.2.0";
|
|
|
|
minimalOCamlVersion = "4.03";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/mirage/parse-argv/releases/download/v${finalAttrs.version}/parse-argv-v${finalAttrs.version}.tbz";
|
|
hash = "sha256-/BX5ci+mC7RTV66/Wkq7Hi8wYebfiWh/8/PyyhwBtBk=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ astring ];
|
|
|
|
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
|
checkInputs = [ ounit ];
|
|
|
|
meta = {
|
|
description = "Process strings into sets of command-line arguments";
|
|
homepage = "https://github.com/mirage/parse-argv";
|
|
license = lib.licenses.isc;
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
};
|
|
})
|