Skip to content

Commit

Permalink
python312Packages.pastedeploy: 3.0.1 -> 3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonyroussel committed Sep 13, 2024
1 parent 648e093 commit b2d96f2
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions pkgs/development/python-modules/pastedeploy/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,30 @@
fetchFromGitHub,
pytestCheckHook,
pythonOlder,
setuptools,
}:

buildPythonPackage rec {
pname = "pastedeploy";
version = "3.0.1";
format = "setuptools";
version = "3.1";
pyproject = true;

disabled = pythonOlder "3.7";

src = fetchFromGitHub {
owner = "Pylons";
repo = pname;
repo = "pastedeploy";
rev = "refs/tags/${version}";
hash = "sha256-8MNeOcYPEYAfghZN/K/1v/tAAdgz/fCvuVnBoru+81Q=";
};

postPatch = ''
substituteInPlace pytest.ini \
--replace " --cov" ""
--replace-fail " --cov" ""
'';

build-system = [ setuptools ];

nativeCheckInputs = [ pytestCheckHook ];

pythonImportsCheck = [ "paste.deploy" ];
Expand Down

0 comments on commit b2d96f2

Please sign in to comment.