linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / python-modules / license-expression / default.nix
blobe934c519428524395ba9db7215a74c0421a10740
1 { lib, buildPythonPackage, fetchFromGitHub
2 , boolean-py
3 }:
5 buildPythonPackage rec {
6   pname = "license-expression";
7   version = "1.2";
9   src = fetchFromGitHub {
10     owner = "nexB";
11     repo = "license-expression";
12     rev = "v${version}";
13     sha256 = "0bbd7d90z58p9sd01b00g0vfd9bmwzksjb7pc8833s2jpja9mxz1";
14   };
15   postPatch = "patchShebangs ./configure";
17   propagatedBuildInputs = [ boolean-py ];
19   meta = with lib; {
20     homepage = "https://github.com/nexB/license-expression";
21     description = "Utility library to parse, normalize and compare License expressions for Python using a boolean logic engine";
22     license = licenses.asl20;
23   };