giblib: remove

There is no upstream anymore and scrot now uses imlib2 directly
This commit is contained in:
c0bw3b 2022-01-23 18:58:53 +01:00
parent 27314e17be
commit c182a39498
3 changed files with 1 additions and 39 deletions

View File

@ -1,37 +0,0 @@
{ lib, stdenv, fetchurl, xlibsWrapper, imlib2 }:
stdenv.mkDerivation rec {
pname = "giblib";
version = "1.2.4";
src = fetchurl {
url = "http://linuxbrit.co.uk/downloads/giblib-${version}.tar.gz";
sha256 = "1b4bmbmj52glq0s898lppkpzxlprq9aav49r06j2wx4dv3212rhp";
};
outputs = [ "out" "dev" ];
setOutputFlags = false;
preConfigure = ''
configureFlagsArray+=(
--includedir=$dev/include
)
'';
buildInputs = [ xlibsWrapper ];
propagatedBuildInputs = [ imlib2 ];
postFixup = ''
moveToOutput bin/giblib-config "$dev"
# Doesn't contain useful stuff
rm -rf $out/share/doc
'';
meta = {
homepage = "http://linuxbrit.co.uk/giblib/";
description = "wrapper library for imlib2, and other stuff";
platforms = lib.platforms.unix;
license = lib.licenses.mit;
};
}

View File

@ -312,6 +312,7 @@ mapAliases ({
gdk_pixbuf = gdk-pixbuf; # added 2019-05-22
gettextWithExpat = gettext; # 2016-02-19
getmail = throw "getmail has been removed from nixpkgs, migrate to getmail6."; # added 2022-01-12
giblib = throw " giblib has been removed from nixpkgs because upstream is gone."; # added 2022-01-23
giflib_4_1 = throw "giflib_4_1 has been removed; use giflib instead"; # 2020-02-12
git-bz = throw "giz-bz has been removed from nixpkgs as it is stuck on python2."; # added 2022-01-01
gitAndTools = self // { # added 2021-01-14

View File

@ -16579,8 +16579,6 @@ with pkgs;
ggz_base_libs = callPackage ../development/libraries/ggz_base_libs {};
giblib = callPackage ../development/libraries/giblib { };
gifticlib = callPackage ../development/libraries/science/biology/gifticlib { };
gio-sharp = callPackage ../development/libraries/gio-sharp { };