bleachbit: use format="other", simplify.
Patch by @worldbypeace, during PR review. Thanks!
This commit is contained in:
parent
575df3a129
commit
34845f2f67
@ -3,6 +3,8 @@ pythonPackages.buildPythonApplication rec {
|
|||||||
pname = "bleachbit";
|
pname = "bleachbit";
|
||||||
version = "2.2";
|
version = "2.2";
|
||||||
|
|
||||||
|
format = "other";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.bz2";
|
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.bz2";
|
||||||
sha256 = "1yj9bc3k6s1aib7znb79h5rybfv691zz4szxkwf9fm9nr0dws603";
|
sha256 = "1yj9bc3k6s1aib7znb79h5rybfv691zz4szxkwf9fm9nr0dws603";
|
||||||
@ -16,11 +18,13 @@ pythonPackages.buildPythonApplication rec {
|
|||||||
find -type f -exec sed -i -e 's@/usr/bin@${placeholder "out"}/bin@g' {} \;
|
find -type f -exec sed -i -e 's@/usr/bin@${placeholder "out"}/bin@g' {} \;
|
||||||
'';
|
'';
|
||||||
|
|
||||||
doCheck = false;
|
dontBuild = true;
|
||||||
|
|
||||||
postInstall = ''
|
installFlags = [ "prefix=${placeholder "out"}" ];
|
||||||
make install SHELL=${stdenv.shell} prefix=${placeholder "out"}
|
|
||||||
'';
|
doCheck = true;
|
||||||
|
|
||||||
|
checkTarget = "tests";
|
||||||
|
|
||||||
propagatedBuildInputs = with pythonPackages; [ pygtk ];
|
propagatedBuildInputs = with pythonPackages; [ pygtk ];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user