mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 22:36:23 +01:00
ae18d68b6b
Another step in further separating python2 from python3.
30 lines
650 B
Nix
30 lines
650 B
Nix
{ lib, buildPythonPackage, fetchPypi, setuptools-scm, pytest }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pytest-runner";
|
|
version = "5.2";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "96c7e73ead7b93e388c5d614770d2bae6526efd997757d3543fe17b557a0942b";
|
|
};
|
|
|
|
nativeBuildInputs = [ setuptools-scm pytest ];
|
|
|
|
postPatch = ''
|
|
rm pytest.ini
|
|
'';
|
|
|
|
checkPhase = ''
|
|
py.test tests
|
|
'';
|
|
|
|
# Fixture not found
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Invoke py.test as distutils command with dependency resolution";
|
|
homepage = "https://github.com/pytest-dev/pytest-runner";
|
|
license = licenses.mit;
|
|
};
|
|
}
|