pythonPackages.klaus: do not use python.pkgs

This commit is contained in:
Mario Rodas 2019-12-26 04:20:00 -05:00
parent 6a99b46463
commit 21956ab8b1
No known key found for this signature in database
GPG Key ID: 4C4BEFD7B18DC5E8

View File

@ -1,6 +1,6 @@
{ lib, python, fetchFromGitHub }: { lib, buildPythonPackage, fetchFromGitHub, isPy3k, six, flask, pygments, dulwich, httpauth, humanize, pytest, requests, python-ctags3, mock }:
python.pkgs.buildPythonPackage rec { buildPythonPackage rec {
pname = "klaus"; pname = "klaus";
version = "1.5.1"; version = "1.5.1";
@ -16,11 +16,11 @@ python.pkgs.buildPythonPackage rec {
--replace "mkdir -p \$builddir" "mkdir -p \$builddir && pwd" --replace "mkdir -p \$builddir" "mkdir -p \$builddir && pwd"
''; '';
propagatedBuildInputs = with python.pkgs; [ propagatedBuildInputs = [
six flask pygments dulwich httpauth humanize six flask pygments dulwich httpauth humanize
]; ];
checkInputs = with python.pkgs; [ checkInputs = [
pytest requests python-ctags3 pytest requests python-ctags3
] ++ lib.optional (!isPy3k) mock; ] ++ lib.optional (!isPy3k) mock;