mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
radicale: use pytestCheckHook
This commit is contained in:
parent
d235056d6d
commit
8a3c8eed75
1 changed files with 12 additions and 10 deletions
|
@ -1,14 +1,20 @@
|
|||
{ lib, python3 }:
|
||||
{ lib, python3, fetchFromGitHub }:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "Radicale";
|
||||
pname = "radicale";
|
||||
version = "3.0.6";
|
||||
|
||||
src = python3.pkgs.fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "a9433d3df97135d9c02cec8dde4199444daf1b73ad161ded398d67b8e629fdc6";
|
||||
src = fetchFromGitHub {
|
||||
owner = "Kozea";
|
||||
repo = "Radicale";
|
||||
rev = version;
|
||||
sha256 = "1xlsvrmx6jhi71j6j8z9sli5vwxasivzjyqf8zq8r0l5p7350clf";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
sed -i '/addopts/d' setup.cfg
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
defusedxml
|
||||
passlib
|
||||
|
@ -18,11 +24,7 @@ python3.pkgs.buildPythonApplication rec {
|
|||
];
|
||||
|
||||
checkInputs = with python3.pkgs; [
|
||||
pytestrunner
|
||||
pytest
|
||||
pytestcov
|
||||
pytest-flake8
|
||||
pytest-isort
|
||||
pytestCheckHook
|
||||
waitress
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in a new issue