1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/license-expression/default.nix

26 lines
643 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchFromGitHub
, boolean-py
}:
buildPythonPackage rec {
pname = "license-expression";
version = "0.999";
src = fetchFromGitHub {
owner = "nexB";
repo = "license-expression";
rev = "v${version}";
sha256 = "0q8sha38w7ajg7ar0rmbqrwv0n58l8yzyl96cqwcbvp578fn3ir0";
};
postPatch = "patchShebangs .";
propagatedBuildInputs = [ boolean-py ];
meta = with lib; {
homepage = "https://github.com/nexB/license-expression";
description = "Utility library to parse, normalize and compare License expressions for Python using a boolean logic engine";
license = licenses.asl20;
};
}