Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 31 lines 664 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 setuptools, 6 pytestCheckHook, 7}: 8 9buildPythonPackage rec { 10 pname = "lice"; 11 version = "0.6"; 12 format = "setuptools"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "0skyyirbidknfdzdvsjga8zb4ar6xpd5ilvz11dfm2a9yxh3d59d"; 17 }; 18 19 propagatedBuildInputs = [ setuptools ]; 20 21 nativeCheckInputs = [ pytestCheckHook ]; 22 meta = with lib; { 23 description = "Print license based on selection and user options"; 24 homepage = "https://github.com/licenses/lice"; 25 license = licenses.bsd3; 26 maintainers = with maintainers; [ swflint ]; 27 platforms = platforms.unix; 28 mainProgram = "lice"; 29 }; 30 31}