forked from mirrors/nixpkgs
python3Packages.sarge: enable tests
This commit is contained in:
parent
b0ff8e153c
commit
774c49b7b8
|
@ -1,20 +1,32 @@
|
||||||
{ lib, buildPythonPackage, fetchPypi }:
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pytestCheckHook
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "sarge";
|
pname = "sarge";
|
||||||
version = "0.1.7";
|
version = "0.1.7";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchFromGitHub {
|
||||||
inherit pname version;
|
owner = "vsajip";
|
||||||
sha256 = "3b810d396a75a5a2805272f64f4316f6dcc086e0a744b042cdb0effc85c0f21b";
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
sha256 = "sha256-E1alSDXj0oeyB6dN5PAtN62FPpMsCKb4R9DpfWdFtn0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# No tests in PyPI tarball
|
checkInputs = [
|
||||||
doCheck = false;
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"sarge"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
description = "Python wrapper for subprocess which provides command pipeline functionality";
|
||||||
homepage = "https://sarge.readthedocs.org/";
|
homepage = "https://sarge.readthedocs.org/";
|
||||||
description = "A wrapper for subprocess which provides command pipeline functionality";
|
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
maintainers = with maintainers; [ abbradar ];
|
maintainers = with maintainers; [ abbradar ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue