3
0
Fork 0
forked from mirrors/nixpkgs

python39Packages.plaster-pastedeploy: add meta, switch to pytestCheckHook

This commit is contained in:
Sandro Jäckel 2021-10-07 20:37:44 +02:00
parent 16d0a1310c
commit 68370cf310
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -1,10 +1,14 @@
{ buildPythonPackage, fetchPypi, fetchpatch
, plaster, pastedeploy
, pytest, pytest-cov
{ lib
, buildPythonPackage
, fetchPypi
, fetchpatch
, plaster
, pastedeploy
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "plaster_pastedeploy";
pname = "plaster-pastedeploy";
version = "0.6";
src = fetchPypi {
@ -21,10 +25,14 @@ buildPythonPackage rec {
})
];
checkPhase = ''
py.test
'';
propagatedBuildInputs = [ plaster pastedeploy ];
checkInputs = [ pytest pytest-cov ];
checkInputs = [ pytestCheckHook ];
meta = with lib; {
description = "PasteDeploy binding to the plaster configuration loader";
homepage = "https://github.com/Pylons/plaster_pastedeploy";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}