Do not use top-level buildPythonPackage or buildPythonApplication

but instead use the one in pythonPackages.
This commit is contained in:
Frederik Rietdijk
2016-09-26 11:10:51 +02:00
parent 2f4da5bd83
commit 3ba16c8234
22 changed files with 68 additions and 83 deletions
+3 -4
View File
@@ -1,15 +1,14 @@
{ stdenv, fetchurl, buildPythonApplication, pythonPackages }:
{ stdenv, fetchurl, pythonPackages }:
buildPythonApplication rec {
pythonPackages.buildPythonApplication rec {
name = "iotop-0.6";
namePrefix = "";
src = fetchurl {
url = "http://guichaz.free.fr/iotop/files/${name}.tar.bz2";
sha256 = "0nzprs6zqax0cwq8h7hnszdl3d2m4c2d4vjfxfxbnjfs9sia5pis";
};
pythonPath = [ pythonPackages.curses ];
propagatedBuildInputs = [ pythonPackages.curses ];
doCheck = false;