forked from mirrors/nixpkgs
pythonPackages.timetagger: Add test inputs
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Suggested-by: Joachim Ernst <mail-maintainer@0x4A6F.dev>
This commit is contained in:
parent
87419823ad
commit
6304e619bc
|
@ -1,6 +1,8 @@
|
||||||
{ lib
|
{ lib
|
||||||
, python3Packages
|
, python3Packages
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, pytestCheckHook
|
||||||
|
, requests
|
||||||
}:
|
}:
|
||||||
|
|
||||||
python3Packages.buildPythonPackage rec {
|
python3Packages.buildPythonPackage rec {
|
||||||
|
@ -21,7 +23,16 @@ python3Packages.buildPythonPackage rec {
|
||||||
maintainers = with maintainers; [ matthiasbeyer ];
|
maintainers = with maintainers; [ matthiasbeyer ];
|
||||||
};
|
};
|
||||||
|
|
||||||
doCheck = false;
|
checkInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
requests
|
||||||
|
];
|
||||||
|
|
||||||
|
preCheck = ''
|
||||||
|
# https://github.com/NixOS/nixpkgs/issues/12591
|
||||||
|
mkdir -p check-phase
|
||||||
|
export HOME=$(pwd)/check-phase
|
||||||
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = with python3Packages; [
|
propagatedBuildInputs = with python3Packages; [
|
||||||
asgineer
|
asgineer
|
||||||
|
|
Loading…
Reference in a new issue