Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
992 B · 42 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243{ lib, boolean-py, buildPythonPackage, fetchFromGitHub, pytestCheckHook, pythonOlder, setuptools-scm,}:
buildPythonPackage rec { pname = "license-expression"; version = "30.4.4"; pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub { owner = "aboutcode-org"; repo = "license-expression"; tag = "v${version}"; hash = "sha256-Bgkm0nhu/jeqtg3444R2encCtfzd7xnwyCXlZWaYSQ0="; };
dontConfigure = true;
build-system = [ setuptools-scm ];
dependencies = [ boolean-py ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "license_expression" ];
meta = with lib; { description = "Utility library to parse, normalize and compare License expressions"; homepage = "https://github.com/aboutcode-org/license-expression"; changelog = "https://github.com/aboutcode-org/license-expression/blob/${src.tag}/CHANGELOG.rst"; license = licenses.asl20; maintainers = with maintainers; [ fab ]; };}