Loading pkgs/development/python-modules/devpi-common/default.nix +17 −15 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchPypi , pythonOlder , setuptools , setuptools-changelog-shortener , requests , py , pytestCheckHook , lazy }: buildPythonPackage rec { pname = "devpi-common"; version = "3.7.2"; version = "4.0.0"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; hash = "sha256-kHiYknmteenBgce63EpzhGBEUYcQHrDLreZ1k01eRkQ="; hash = "sha256-N4f43B1Dg1mCnDF3Sj2341vVXNdjlDzF1vn7ORoLWJ8="; }; postPatch = '' substituteInPlace tox.ini \ --replace "--flake8" "" ''; nativeBuildInputs = [ setuptools setuptools-changelog-shortener ]; propagatedBuildInputs = [ requests py lazy ]; nativeCheckInputs = [ py pytestCheckHook ]; pythonImportsCheck = [ "devpi_common" ]; meta = with lib; { homepage = "https://github.com/devpi/devpi"; description = "Utilities jointly used by devpi-server and devpi-client"; changelog = "https://github.com/devpi/devpi/blob/common-${version}/common/CHANGELOG"; license = licenses.mit; maintainers = with maintainers; [ lewo makefu ]; # It fails to build because it depends on packaging <22 while we # use packaging >22. # See the following issues for details: # - https://github.com/NixOS/nixpkgs/issues/231346 # - https://github.com/devpi/devpi/issues/939 broken = true; }; } pkgs/development/python-modules/setuptools-changelog-shortener/default.nix 0 → 100644 +39 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub , setuptools , tomli , wheel }: buildPythonPackage rec { pname = "setuptools-changelog-shortener"; version = "0.2.0"; pyproject = true; src = fetchFromGitHub { owner = "fschulze"; repo = "setuptools-changelog-shortener"; rev = "refs/tags/${version}"; hash = "sha256-K8oVcX40K5j2CwQnulK55HykkEXAmOiUg4mZPg5T+YI="; }; nativeBuildInputs = [ setuptools tomli wheel ]; # upstream has no tests doCheck = false; pythonImportsCheck = [ "setuptools_changelog_shortener" ]; meta = with lib; { description = "Setuptools-changelog-shortener: add only newest changelog entries to long_description"; homepage = "https://github.com/fschulze/setuptools-changelog-shortener"; changelog = "https://github.com/fschulze/setuptools-changelog-shortener/blob/${src.rev}/README.rst#changelog"; license = licenses.mit; maintainers = with maintainers; [ natsukium ]; }; } pkgs/development/tools/devpi-client/default.nix +13 −8 Original line number Diff line number Diff line Loading @@ -8,13 +8,12 @@ python3.pkgs.buildPythonApplication rec { pname = "devpi-client"; version = "6.0.3"; format = "setuptools"; version = "7.0.0"; pyproject = true; src = fetchPypi { inherit pname version; hash = "sha256-csdQUxnopH+kYtoqdvyXKNW3fGkQNSREJYxjes9Dgi8="; hash = "sha256-AI/GNubb7+nwz/vM6v/JoUtWup6rBJieKXtFQzrdPkE="; }; postPatch = '' Loading @@ -22,22 +21,24 @@ python3.pkgs.buildPythonApplication rec { --replace "--flake8" "" ''; nativeBuildInputs = with python3.pkgs; [ setuptools setuptools-changelog-shortener wheel ]; buildInputs = [ glibcLocales ]; propagatedBuildInputs = with python3.pkgs; [ argon2-cffi-bindings build check-manifest devpi-common iniconfig pep517 pkginfo pluggy platformdirs py setuptools ]; nativeCheckInputs = [ Loading Loading @@ -67,6 +68,10 @@ python3.pkgs.buildPythonApplication rec { __darwinAllowLocalNetworking = true; pythonImportsCheck = [ "devpi" ]; meta = with lib; { description = "Client for devpi, a pypi index server and packaging meta tool"; homepage = "http://doc.devpi.net"; Loading pkgs/development/tools/devpi-server/default.nix +18 −5 Original line number Diff line number Diff line { lib, fetchFromGitHub, buildPythonApplication, isPy27 { lib, fetchFromGitHub, buildPythonApplication , pythonOlder , aiohttp , appdirs , beautifulsoup4 Loading @@ -24,16 +25,16 @@ buildPythonApplication rec { pname = "devpi-server"; version = "6.7.0"; format = "setuptools"; version = "6.9.2"; pyproject = true; disabled = isPy27; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "devpi"; repo = "devpi"; rev = "server-${version}"; hash = "sha256-tevQ/Ocusz2PythGnedP6r4xARgetVosAc8uTD49H3M="; hash = "sha256-HnxWLxOK+6B8O/7lpNjuSUQ0Z7NOmV2n01WFyjow6oU="; }; sourceRoot = "${src.name}/server"; Loading @@ -43,6 +44,10 @@ buildPythonApplication rec { --replace "--flake8" "" ''; nativeBuildInputs = [ setuptools ]; propagatedBuildInputs = [ aiohttp appdirs Loading Loading @@ -87,13 +92,21 @@ buildPythonApplication rec { disabledTests = [ "root_passwd_hash_option" "TestMirrorIndexThings" "test_auth_mirror_url_no_hash" "test_auth_mirror_url_with_hash" "test_auth_mirror_url_hidden_in_logs" ]; __darwinAllowLocalNetworking = true; pythonImportsCheck = [ "devpi_server" ]; meta = with lib;{ homepage = "http://doc.devpi.net"; description = "Github-style pypi index server and packaging meta tool"; changelog = "https://github.com/devpi/devpi/blob/${src.rev}/server/CHANGELOG"; license = licenses.mit; maintainers = with maintainers; [ makefu ]; }; Loading pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -12649,6 +12649,8 @@ self: super: with self; { setupmeta = callPackage ../development/python-modules/setupmeta { }; setuptools-changelog-shortener = callPackage ../development/python-modules/setuptools-changelog-shortener { }; setuptools-declarative-requirements = callPackage ../development/python-modules/setuptools-declarative-requirements { }; setuptools-generate = callPackage ../development/python-modules/setuptools-generate { }; Loading Loading
pkgs/development/python-modules/devpi-common/default.nix +17 −15 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchPypi , pythonOlder , setuptools , setuptools-changelog-shortener , requests , py , pytestCheckHook , lazy }: buildPythonPackage rec { pname = "devpi-common"; version = "3.7.2"; version = "4.0.0"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; hash = "sha256-kHiYknmteenBgce63EpzhGBEUYcQHrDLreZ1k01eRkQ="; hash = "sha256-N4f43B1Dg1mCnDF3Sj2341vVXNdjlDzF1vn7ORoLWJ8="; }; postPatch = '' substituteInPlace tox.ini \ --replace "--flake8" "" ''; nativeBuildInputs = [ setuptools setuptools-changelog-shortener ]; propagatedBuildInputs = [ requests py lazy ]; nativeCheckInputs = [ py pytestCheckHook ]; pythonImportsCheck = [ "devpi_common" ]; meta = with lib; { homepage = "https://github.com/devpi/devpi"; description = "Utilities jointly used by devpi-server and devpi-client"; changelog = "https://github.com/devpi/devpi/blob/common-${version}/common/CHANGELOG"; license = licenses.mit; maintainers = with maintainers; [ lewo makefu ]; # It fails to build because it depends on packaging <22 while we # use packaging >22. # See the following issues for details: # - https://github.com/NixOS/nixpkgs/issues/231346 # - https://github.com/devpi/devpi/issues/939 broken = true; }; }
pkgs/development/python-modules/setuptools-changelog-shortener/default.nix 0 → 100644 +39 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub , setuptools , tomli , wheel }: buildPythonPackage rec { pname = "setuptools-changelog-shortener"; version = "0.2.0"; pyproject = true; src = fetchFromGitHub { owner = "fschulze"; repo = "setuptools-changelog-shortener"; rev = "refs/tags/${version}"; hash = "sha256-K8oVcX40K5j2CwQnulK55HykkEXAmOiUg4mZPg5T+YI="; }; nativeBuildInputs = [ setuptools tomli wheel ]; # upstream has no tests doCheck = false; pythonImportsCheck = [ "setuptools_changelog_shortener" ]; meta = with lib; { description = "Setuptools-changelog-shortener: add only newest changelog entries to long_description"; homepage = "https://github.com/fschulze/setuptools-changelog-shortener"; changelog = "https://github.com/fschulze/setuptools-changelog-shortener/blob/${src.rev}/README.rst#changelog"; license = licenses.mit; maintainers = with maintainers; [ natsukium ]; }; }
pkgs/development/tools/devpi-client/default.nix +13 −8 Original line number Diff line number Diff line Loading @@ -8,13 +8,12 @@ python3.pkgs.buildPythonApplication rec { pname = "devpi-client"; version = "6.0.3"; format = "setuptools"; version = "7.0.0"; pyproject = true; src = fetchPypi { inherit pname version; hash = "sha256-csdQUxnopH+kYtoqdvyXKNW3fGkQNSREJYxjes9Dgi8="; hash = "sha256-AI/GNubb7+nwz/vM6v/JoUtWup6rBJieKXtFQzrdPkE="; }; postPatch = '' Loading @@ -22,22 +21,24 @@ python3.pkgs.buildPythonApplication rec { --replace "--flake8" "" ''; nativeBuildInputs = with python3.pkgs; [ setuptools setuptools-changelog-shortener wheel ]; buildInputs = [ glibcLocales ]; propagatedBuildInputs = with python3.pkgs; [ argon2-cffi-bindings build check-manifest devpi-common iniconfig pep517 pkginfo pluggy platformdirs py setuptools ]; nativeCheckInputs = [ Loading Loading @@ -67,6 +68,10 @@ python3.pkgs.buildPythonApplication rec { __darwinAllowLocalNetworking = true; pythonImportsCheck = [ "devpi" ]; meta = with lib; { description = "Client for devpi, a pypi index server and packaging meta tool"; homepage = "http://doc.devpi.net"; Loading
pkgs/development/tools/devpi-server/default.nix +18 −5 Original line number Diff line number Diff line { lib, fetchFromGitHub, buildPythonApplication, isPy27 { lib, fetchFromGitHub, buildPythonApplication , pythonOlder , aiohttp , appdirs , beautifulsoup4 Loading @@ -24,16 +25,16 @@ buildPythonApplication rec { pname = "devpi-server"; version = "6.7.0"; format = "setuptools"; version = "6.9.2"; pyproject = true; disabled = isPy27; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "devpi"; repo = "devpi"; rev = "server-${version}"; hash = "sha256-tevQ/Ocusz2PythGnedP6r4xARgetVosAc8uTD49H3M="; hash = "sha256-HnxWLxOK+6B8O/7lpNjuSUQ0Z7NOmV2n01WFyjow6oU="; }; sourceRoot = "${src.name}/server"; Loading @@ -43,6 +44,10 @@ buildPythonApplication rec { --replace "--flake8" "" ''; nativeBuildInputs = [ setuptools ]; propagatedBuildInputs = [ aiohttp appdirs Loading Loading @@ -87,13 +92,21 @@ buildPythonApplication rec { disabledTests = [ "root_passwd_hash_option" "TestMirrorIndexThings" "test_auth_mirror_url_no_hash" "test_auth_mirror_url_with_hash" "test_auth_mirror_url_hidden_in_logs" ]; __darwinAllowLocalNetworking = true; pythonImportsCheck = [ "devpi_server" ]; meta = with lib;{ homepage = "http://doc.devpi.net"; description = "Github-style pypi index server and packaging meta tool"; changelog = "https://github.com/devpi/devpi/blob/${src.rev}/server/CHANGELOG"; license = licenses.mit; maintainers = with maintainers; [ makefu ]; }; Loading
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -12649,6 +12649,8 @@ self: super: with self; { setupmeta = callPackage ../development/python-modules/setupmeta { }; setuptools-changelog-shortener = callPackage ../development/python-modules/setuptools-changelog-shortener { }; setuptools-declarative-requirements = callPackage ../development/python-modules/setuptools-declarative-requirements { }; setuptools-generate = callPackage ../development/python-modules/setuptools-generate { }; Loading