summary refs log tree commit diff
path: root/pkgs/development/python-modules/license-expression/default.nix
blob: 2bf204a9a628ab5a94aa930e237ec36eeaea86c9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ 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 ./configure";

  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;
  };

}