Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 25 lines 653 B view raw
1{ lib, buildPythonPackage, fetchFromGitHub 2, boolean-py 3}: 4 5buildPythonPackage rec { 6 pname = "license-expression"; 7 version = "0.999"; 8 9 src = fetchFromGitHub { 10 owner = "nexB"; 11 repo = "license-expression"; 12 rev = "v${version}"; 13 sha256 = "0q8sha38w7ajg7ar0rmbqrwv0n58l8yzyl96cqwcbvp578fn3ir0"; 14 }; 15 postPatch = "patchShebangs ./configure"; 16 17 propagatedBuildInputs = [ boolean-py ]; 18 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 }; 24 25}