mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 08:36:41 +01:00
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 changed files with 12 additions and 1 deletions
|
@ -1,6 +1,8 @@
|
|||
{ lib
|
||||
, python3Packages
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, requests
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonPackage rec {
|
||||
|
@ -21,7 +23,16 @@ python3Packages.buildPythonPackage rec {
|
|||
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; [
|
||||
asgineer
|
||||
|
|
Loading…
Reference in a new issue