anki-bin: 24.06.3 -> 24.11 (#360722)
[NixPkgs.git] / pkgs / development / python-modules / univers / default.nix
blob3e0c0d3094f416d5139eb8594966d01cf2a0dc13
2   lib,
3   attrs,
4   buildPythonPackage,
5   commoncode,
6   fetchPypi,
7   packaging,
8   pytestCheckHook,
9   pythonOlder,
10   saneyaml,
11   semantic-version,
12   semver,
13   setuptools,
14   setuptools-scm,
17 buildPythonPackage rec {
18   pname = "univers";
19   version = "30.12.1";
20   pyproject = true;
22   disabled = pythonOlder "3.8";
24   src = fetchPypi {
25     inherit pname version;
26     hash = "sha256-whuUM3IHnuK5bkXJ8SPrMoO3cRnm0yxKBPxBSfeQIFY=";
27   };
29   build-system = [
30     setuptools
31     setuptools-scm
32   ];
34   dependencies = [
35     attrs
36     packaging
37     semantic-version
38     semver
39   ];
41   nativeCheckInputs = [
42     commoncode
43     pytestCheckHook
44     saneyaml
45   ];
47   dontConfigure = true; # ./configure tries to setup virtualenv and downloads dependencies
49   pythonImportsCheck = [ "univers" ];
51   disabledTests = [
52     # No value for us
53     "test_codestyle"
54     # AssertionError starting with 30.10.0
55     "test_enhanced_semantic_version"
56     "test_semver_version"
57   ];
59   meta = with lib; {
60     description = "Library for parsing version ranges and expressions";
61     homepage = "https://github.com/aboutcode-org/univers";
62     changelog = "https://github.com/aboutcode-org/univers/blob/v${version}/CHANGELOG.rst";
63     license = with licenses; [
64       asl20
65       bsd3
66       mit
67     ];
68     maintainers = with maintainers; [
69       armijnhemel
70       sbruder
71     ];
72   };