fslint: drop

Requires python2 and libglade (both EOL).
Upstream recommends using [czkawka](https://qarmin.github.io/czkawka/) instead.
This commit is contained in:
piegames 2022-01-15 23:16:29 +01:00
parent 0be46d0515
commit a9bbc8be84
3 changed files with 1 additions and 43 deletions

View file

@ -1,41 +0,0 @@
{ lib, stdenv, fetchFromGitHub, python2, makeWrapper }:
let pythonEnv = python2.withPackages(ps: [ ps.pyGtkGlade]);
in stdenv.mkDerivation rec {
pname = "fslint";
version = "2.46";
src = fetchFromGitHub {
owner = "pixelb";
repo = "fslint";
rev = version;
sha256 = "048pc1rsslbsrfchl2wmdd4hpa2gycglib7kdx8vqs947zcm0sfv";
};
buildInputs = [
pythonEnv makeWrapper
];
prePatch = ''
substituteInPlace fslint-gui --replace "liblocation=os.path.dirname(os.path.abspath(sys.argv[0]))" "liblocation='$out'"
'';
installPhase = ''
runHook preInstall
mkdir -p $out/bin
cp * -R $out/
cp fslint-gui $out/bin/fslint
wrapProgram "$out/bin/fslint" \
--prefix PYTHONPATH : "${pythonEnv.interpreter}"
runHook postInstall
'';
meta = with lib; {
description = "A utility to find and clean various forms of lint on a filesystem";
homepage = "https://www.pixelbeat.org/fslint/";
license = licenses.gpl2Plus;
maintainers = [ maintainers.dasj19 ];
platforms = platforms.unix;
};
}

View file

@ -304,6 +304,7 @@ mapAliases ({
foomatic_filters = foomatic-filters; # 2016-08
fscryptctl-experimental = throw "The package fscryptctl-experimental has been removed. Please switch to fscryptctl."; # 2021-11-07
fsharp41 = throw "fsharp41 has been removed, please use dotnet-sdk_5 or later";
fslint = throw "fslint has been removed: end of life. Upstream recommends using czkawka (https://qarmin.github.io/czkawka/) instead"; # 2022-01-15
fuse_exfat = exfat; # 2015-09-11
fuseki = apache-jena-fuseki; # added 2018-04-25
fwupdate = throw "fwupdate was merged into fwupd"; # added 2020-05-19

View file

@ -30412,8 +30412,6 @@ with pkgs;
tts = callPackage ../tools/audio/tts { };
fslint = callPackage ../applications/misc/fslint { };
### GAMES
_1oom = callPackage ../games/1oom { };