nixpkgs/pkgs/applications/misc/bleachbit/default.nix
Ryan Mulligan 617a8bda3b bleachbit: 1.12 -> 2.0
Semi-automatic update. These checks were done:

- built on NixOS
- ran `/nix/store/3wdy7impkb43r97w6hqqmcrncqkh05j1-bleachbit-2.0/bin/.bleachbit-wrapped -h` got 0 exit code
- ran `/nix/store/3wdy7impkb43r97w6hqqmcrncqkh05j1-bleachbit-2.0/bin/.bleachbit-wrapped --help` got 0 exit code
- ran `/nix/store/3wdy7impkb43r97w6hqqmcrncqkh05j1-bleachbit-2.0/bin/.bleachbit-wrapped help` got 0 exit code
- ran `/nix/store/3wdy7impkb43r97w6hqqmcrncqkh05j1-bleachbit-2.0/bin/.bleachbit-wrapped -v` and found version 2.0
- ran `/nix/store/3wdy7impkb43r97w6hqqmcrncqkh05j1-bleachbit-2.0/bin/.bleachbit-wrapped --version` and found version 2.0
- ran `/nix/store/3wdy7impkb43r97w6hqqmcrncqkh05j1-bleachbit-2.0/bin/bleachbit -h` got 0 exit code
- ran `/nix/store/3wdy7impkb43r97w6hqqmcrncqkh05j1-bleachbit-2.0/bin/bleachbit --help` got 0 exit code
- ran `/nix/store/3wdy7impkb43r97w6hqqmcrncqkh05j1-bleachbit-2.0/bin/bleachbit help` got 0 exit code
- ran `/nix/store/3wdy7impkb43r97w6hqqmcrncqkh05j1-bleachbit-2.0/bin/bleachbit -v` and found version 2.0
- ran `/nix/store/3wdy7impkb43r97w6hqqmcrncqkh05j1-bleachbit-2.0/bin/bleachbit --version` and found version 2.0
- found 2.0 with grep in /nix/store/3wdy7impkb43r97w6hqqmcrncqkh05j1-bleachbit-2.0
- found 2.0 in filename of file in /nix/store/3wdy7impkb43r97w6hqqmcrncqkh05j1-bleachbit-2.0
2018-03-07 19:16:54 -08:00

35 lines
1005 B
Nix

{ stdenv, pythonPackages, fetchurl }:
pythonPackages.buildPythonApplication rec {
name = "bleachbit-${version}";
version = "2.0";
namePrefix = "";
src = fetchurl {
url = "mirror://sourceforge/bleachbit/${name}.tar.bz2";
sha256 = "0ps98zx4n13q92bq7ykqi6hj3i7brdqgm87i9gk6ibvljp1vxdz9";
};
buildInputs = [ pythonPackages.wrapPython ];
doCheck = false;
postInstall = ''
mkdir -p $out/bin
cp bleachbit.py $out/bin/bleachbit
chmod +x $out/bin/bleachbit
substituteInPlace $out/bin/bleachbit --replace "#!/usr/bin/env python" "#!${pythonPackages.python.interpreter}"
'';
propagatedBuildInputs = with pythonPackages; [ pygtk ];
meta = {
homepage = http://bleachbit.sourceforge.net;
description = "A program to clean your computer";
longDescription = "BleachBit helps you easily clean your computer to free space and maintain privacy.";
license = stdenv.lib.licenses.gpl3;
maintainers = with stdenv.lib.maintainers; [ leonardoce ];
};
}