Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.0 kB · 49 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950{ lib, boolean-py, buildPythonPackage, fetchFromGitHub, pytestCheckHook, pythonOlder, setuptools-scm}:
buildPythonPackage rec { pname = "license-expression"; version = "30.2.0"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "nexB"; repo = "license-expression"; rev = "refs/tags/v${version}"; hash = "sha256-vsQsHi2jdB0OiV6stm1APjQvr+238UoKgaaeXVx/isI="; };
dontConfigure = true;
nativeBuildInputs = [ setuptools-scm ];
propagatedBuildInputs = [ boolean-py ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "license_expression" ];
meta = with lib; { description = "Utility library to parse, normalize and compare License expressions"; homepage = "https://github.com/nexB/license-expression"; changelog = "https://github.com/nexB/license-expression/blob/v${version}/CHANGELOG.rst"; license = licenses.asl20; maintainers = with maintainers; [ fab ]; };}