depot/pkgs/development/ocaml-modules/spdx_licenses/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

24 lines
599 B
Nix

{
lib,
fetchurl,
buildDunePackage,
}:
buildDunePackage rec {
pname = "spdx_licenses";
version = "1.2.0";
minimalOCamlVersion = "4.08";
src = fetchurl {
url = "https://github.com/kit-ty-kate/spdx_licenses/releases/download/v${version}/spdx_licenses-${version}.tar.gz";
hash = "sha256-9ViB7PRDz70w3RJczapgn2tJx9wTWgAbdzos6r3J2r4=";
};
meta = {
homepage = "https://github.com/kit-ty-kate/spdx_licenses";
description = "A library providing a strict SPDX License Expression parser";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.vbgl ];
};
}