depot/third_party/nixpkgs/pkgs/development/python-modules/setuptoolstrial/default.nix
Default email 9c6ee729d6 Project import generated by Copybara.
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
2023-07-15 19:15:38 +02:00

38 lines
766 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, twisted
}:
buildPythonPackage rec {
pname = "setuptools-trial";
version = "0.6.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "setuptools_trial";
inherit version;
hash = "sha256-FCIPj3YcSLoeJSbwhxlQd89U+tcJizgs4iBCLw/1mxI=";
};
propagatedBuildInputs = [
twisted
];
# Couldn't get tests working
doCheck = false;
pythonImportsCheck = [
"setuptools_trial"
];
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 ];
};
}