diff options
Diffstat (limited to 'pkgs/development/python-modules/license-expression/default.nix')
-rw-r--r-- | pkgs/development/python-modules/license-expression/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/license-expression/default.nix b/pkgs/development/python-modules/license-expression/default.nix new file mode 100644 index 0000000000000..6d52e5f5c1f56 --- /dev/null +++ b/pkgs/development/python-modules/license-expression/default.nix @@ -0,0 +1,24 @@ +{ 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"; + }; + + 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; + }; + +} |