nixpkgs/pkgs/development/python-modules/setuptoolstrial/default.nix
Martin Weinelt 7bd65d54f7 treewide: remove nand0p as maintainer
While looking at the sphinx package I noticed it was heavily
undermaintained, which is when we noticed nand0p has been inactive for
roughly 18 months. It is therefore prudent to assume they will not be
maintaining their packages, modules and tests.

- Their last contribution to nixpkgs was in 2019/12
- On 2021/05/08 I wrote them an email to the address listed in the
  maintainer-list, which they didn't reply to.
2021-05-17 01:50:49 +02:00

39 lines
834 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytest
, virtualenv
, pytestrunner
, pytest-virtualenv
, twisted
, pathlib2
}:
buildPythonPackage rec {
pname = "setuptools_trial";
version = "0.6.0";
src = fetchPypi {
inherit pname version;
sha256 = "14220f8f761c48ba1e2526f087195077cf54fad7098b382ce220422f0ff59b12";
};
buildInputs = [ pytest virtualenv pytestrunner pytest-virtualenv ];
propagatedBuildInputs = [ twisted pathlib2 ];
postPatch = ''
sed -i '12,$d' tests/test_main.py
'';
# Couldn't get tests working
doCheck = false;
meta = with lib; {
description = "Setuptools plugin that makes unit tests execute with trial instead of pyunit.";
homepage = "https://github.com/rutsky/setuptools-trial";
license = licenses.bsd2;
maintainers = with maintainers; [ ryansydnor ];
};
}