pkgs/tools: stdenv.lib -> lib
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl}:
|
||||
{lib, stdenv, fetchurl}:
|
||||
|
||||
let
|
||||
folder = if stdenv.hostPlatform.system == "i686-linux" then "i686"
|
||||
@@ -16,7 +16,7 @@ stdenv.mkDerivation {
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp ${folder}/pngout $out/bin
|
||||
|
||||
|
||||
${if stdenv.hostPlatform.system == "i686-linux" then ''
|
||||
patchelf --set-interpreter ${stdenv.glibc.out}/lib/ld-linux.so.2 $out/bin/pngout
|
||||
'' else if stdenv.hostPlatform.system == "x86_64-linux" then ''
|
||||
@@ -26,8 +26,8 @@ stdenv.mkDerivation {
|
||||
|
||||
meta = {
|
||||
description = "A tool that aggressively optimizes the sizes of PNG images";
|
||||
license = stdenv.lib.licenses.unfree;
|
||||
license = lib.licenses.unfree;
|
||||
homepage = "http://advsys.net/ken/utils.htm";
|
||||
maintainers = [ stdenv.lib.maintainers.sander ];
|
||||
maintainers = [ lib.maintainers.sander ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user