nixpkgs/pkgs/tools/graphics/icoutils/default.nix

33 lines
965 B
Nix
Raw Normal View History

{ stdenv, fetchurl, libpng, perl, perlPackages, makeWrapper }:
stdenv.mkDerivation rec {
icoutils: 0.32.2 -> 0.32.3 Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/icoutils/versions. These checks were done: - built on NixOS - ran `/nix/store/9h7cpd3qsaklbxsqvw7s4r9vl07f6pj3-icoutils-0.32.3/bin/extresso -h` got 0 exit code - ran `/nix/store/9h7cpd3qsaklbxsqvw7s4r9vl07f6pj3-icoutils-0.32.3/bin/extresso --help` got 0 exit code - ran `/nix/store/9h7cpd3qsaklbxsqvw7s4r9vl07f6pj3-icoutils-0.32.3/bin/extresso --version` and found version 0.32.3 - ran `/nix/store/9h7cpd3qsaklbxsqvw7s4r9vl07f6pj3-icoutils-0.32.3/bin/genresscript -h` got 0 exit code - ran `/nix/store/9h7cpd3qsaklbxsqvw7s4r9vl07f6pj3-icoutils-0.32.3/bin/genresscript --help` got 0 exit code - ran `/nix/store/9h7cpd3qsaklbxsqvw7s4r9vl07f6pj3-icoutils-0.32.3/bin/genresscript help` got 0 exit code - ran `/nix/store/9h7cpd3qsaklbxsqvw7s4r9vl07f6pj3-icoutils-0.32.3/bin/genresscript -V` and found version 0.32.3 - ran `/nix/store/9h7cpd3qsaklbxsqvw7s4r9vl07f6pj3-icoutils-0.32.3/bin/genresscript -v` and found version 0.32.3 - ran `/nix/store/9h7cpd3qsaklbxsqvw7s4r9vl07f6pj3-icoutils-0.32.3/bin/genresscript --version` and found version 0.32.3 - ran `/nix/store/9h7cpd3qsaklbxsqvw7s4r9vl07f6pj3-icoutils-0.32.3/bin/genresscript version` and found version 0.32.3 - ran `/nix/store/9h7cpd3qsaklbxsqvw7s4r9vl07f6pj3-icoutils-0.32.3/bin/genresscript help` and found version 0.32.3 - ran `/nix/store/9h7cpd3qsaklbxsqvw7s4r9vl07f6pj3-icoutils-0.32.3/bin/icotool --help` got 0 exit code - ran `/nix/store/9h7cpd3qsaklbxsqvw7s4r9vl07f6pj3-icoutils-0.32.3/bin/icotool --version` and found version 0.32.3 - ran `/nix/store/9h7cpd3qsaklbxsqvw7s4r9vl07f6pj3-icoutils-0.32.3/bin/icotool --help` and found version 0.32.3 - ran `/nix/store/9h7cpd3qsaklbxsqvw7s4r9vl07f6pj3-icoutils-0.32.3/bin/wrestool --help` got 0 exit code - ran `/nix/store/9h7cpd3qsaklbxsqvw7s4r9vl07f6pj3-icoutils-0.32.3/bin/wrestool --version` and found version 0.32.3 - ran `/nix/store/9h7cpd3qsaklbxsqvw7s4r9vl07f6pj3-icoutils-0.32.3/bin/wrestool --help` and found version 0.32.3 - ran `/nix/store/9h7cpd3qsaklbxsqvw7s4r9vl07f6pj3-icoutils-0.32.3/bin/.genresscript-wrapped -h` got 0 exit code - ran `/nix/store/9h7cpd3qsaklbxsqvw7s4r9vl07f6pj3-icoutils-0.32.3/bin/.genresscript-wrapped --help` got 0 exit code - ran `/nix/store/9h7cpd3qsaklbxsqvw7s4r9vl07f6pj3-icoutils-0.32.3/bin/.genresscript-wrapped help` got 0 exit code - ran `/nix/store/9h7cpd3qsaklbxsqvw7s4r9vl07f6pj3-icoutils-0.32.3/bin/.genresscript-wrapped -V` and found version 0.32.3 - ran `/nix/store/9h7cpd3qsaklbxsqvw7s4r9vl07f6pj3-icoutils-0.32.3/bin/.genresscript-wrapped -v` and found version 0.32.3 - ran `/nix/store/9h7cpd3qsaklbxsqvw7s4r9vl07f6pj3-icoutils-0.32.3/bin/.genresscript-wrapped --version` and found version 0.32.3 - ran `/nix/store/9h7cpd3qsaklbxsqvw7s4r9vl07f6pj3-icoutils-0.32.3/bin/.genresscript-wrapped version` and found version 0.32.3 - ran `/nix/store/9h7cpd3qsaklbxsqvw7s4r9vl07f6pj3-icoutils-0.32.3/bin/.genresscript-wrapped help` and found version 0.32.3 - found 0.32.3 with grep in /nix/store/9h7cpd3qsaklbxsqvw7s4r9vl07f6pj3-icoutils-0.32.3 - directory tree listing: https://gist.github.com/b0d187c96c8551d0d9c33805a2e38645
2018-03-31 16:02:44 +01:00
name = "icoutils-0.32.3";
src = fetchurl {
url = "mirror://savannah/icoutils/${name}.tar.bz2";
icoutils: 0.32.2 -> 0.32.3 Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/icoutils/versions. These checks were done: - built on NixOS - ran `/nix/store/9h7cpd3qsaklbxsqvw7s4r9vl07f6pj3-icoutils-0.32.3/bin/extresso -h` got 0 exit code - ran `/nix/store/9h7cpd3qsaklbxsqvw7s4r9vl07f6pj3-icoutils-0.32.3/bin/extresso --help` got 0 exit code - ran `/nix/store/9h7cpd3qsaklbxsqvw7s4r9vl07f6pj3-icoutils-0.32.3/bin/extresso --version` and found version 0.32.3 - ran `/nix/store/9h7cpd3qsaklbxsqvw7s4r9vl07f6pj3-icoutils-0.32.3/bin/genresscript -h` got 0 exit code - ran `/nix/store/9h7cpd3qsaklbxsqvw7s4r9vl07f6pj3-icoutils-0.32.3/bin/genresscript --help` got 0 exit code - ran `/nix/store/9h7cpd3qsaklbxsqvw7s4r9vl07f6pj3-icoutils-0.32.3/bin/genresscript help` got 0 exit code - ran `/nix/store/9h7cpd3qsaklbxsqvw7s4r9vl07f6pj3-icoutils-0.32.3/bin/genresscript -V` and found version 0.32.3 - ran `/nix/store/9h7cpd3qsaklbxsqvw7s4r9vl07f6pj3-icoutils-0.32.3/bin/genresscript -v` and found version 0.32.3 - ran `/nix/store/9h7cpd3qsaklbxsqvw7s4r9vl07f6pj3-icoutils-0.32.3/bin/genresscript --version` and found version 0.32.3 - ran `/nix/store/9h7cpd3qsaklbxsqvw7s4r9vl07f6pj3-icoutils-0.32.3/bin/genresscript version` and found version 0.32.3 - ran `/nix/store/9h7cpd3qsaklbxsqvw7s4r9vl07f6pj3-icoutils-0.32.3/bin/genresscript help` and found version 0.32.3 - ran `/nix/store/9h7cpd3qsaklbxsqvw7s4r9vl07f6pj3-icoutils-0.32.3/bin/icotool --help` got 0 exit code - ran `/nix/store/9h7cpd3qsaklbxsqvw7s4r9vl07f6pj3-icoutils-0.32.3/bin/icotool --version` and found version 0.32.3 - ran `/nix/store/9h7cpd3qsaklbxsqvw7s4r9vl07f6pj3-icoutils-0.32.3/bin/icotool --help` and found version 0.32.3 - ran `/nix/store/9h7cpd3qsaklbxsqvw7s4r9vl07f6pj3-icoutils-0.32.3/bin/wrestool --help` got 0 exit code - ran `/nix/store/9h7cpd3qsaklbxsqvw7s4r9vl07f6pj3-icoutils-0.32.3/bin/wrestool --version` and found version 0.32.3 - ran `/nix/store/9h7cpd3qsaklbxsqvw7s4r9vl07f6pj3-icoutils-0.32.3/bin/wrestool --help` and found version 0.32.3 - ran `/nix/store/9h7cpd3qsaklbxsqvw7s4r9vl07f6pj3-icoutils-0.32.3/bin/.genresscript-wrapped -h` got 0 exit code - ran `/nix/store/9h7cpd3qsaklbxsqvw7s4r9vl07f6pj3-icoutils-0.32.3/bin/.genresscript-wrapped --help` got 0 exit code - ran `/nix/store/9h7cpd3qsaklbxsqvw7s4r9vl07f6pj3-icoutils-0.32.3/bin/.genresscript-wrapped help` got 0 exit code - ran `/nix/store/9h7cpd3qsaklbxsqvw7s4r9vl07f6pj3-icoutils-0.32.3/bin/.genresscript-wrapped -V` and found version 0.32.3 - ran `/nix/store/9h7cpd3qsaklbxsqvw7s4r9vl07f6pj3-icoutils-0.32.3/bin/.genresscript-wrapped -v` and found version 0.32.3 - ran `/nix/store/9h7cpd3qsaklbxsqvw7s4r9vl07f6pj3-icoutils-0.32.3/bin/.genresscript-wrapped --version` and found version 0.32.3 - ran `/nix/store/9h7cpd3qsaklbxsqvw7s4r9vl07f6pj3-icoutils-0.32.3/bin/.genresscript-wrapped version` and found version 0.32.3 - ran `/nix/store/9h7cpd3qsaklbxsqvw7s4r9vl07f6pj3-icoutils-0.32.3/bin/.genresscript-wrapped help` and found version 0.32.3 - found 0.32.3 with grep in /nix/store/9h7cpd3qsaklbxsqvw7s4r9vl07f6pj3-icoutils-0.32.3 - directory tree listing: https://gist.github.com/b0d187c96c8551d0d9c33805a2e38645
2018-03-31 16:02:44 +01:00
sha256 = "1q66cksms4l62y0wizb8vfavhmf7kyfgcfkynil3n99s0hny1aqp";
};
buildInputs = [ makeWrapper libpng perl ];
propagatedBuildInputs = [ perlPackages.LWP ];
patchPhase = ''
patchShebangs extresso/extresso
patchShebangs extresso/extresso.in
patchShebangs extresso/genresscript
patchShebangs extresso/genresscript.in
'';
preFixup = ''
wrapProgram $out/bin/extresso --prefix PERL5LIB : $PERL5LIB
wrapProgram $out/bin/genresscript --prefix PERL5LIB : $PERL5LIB
'';
meta = {
2018-12-01 17:32:32 +00:00
homepage = https://www.nongnu.org/icoutils/;
description = "Set of programs to deal with Microsoft Windows(R) icon and cursor files";
license = stdenv.lib.licenses.gpl3Plus;
2017-04-21 01:50:10 +01:00
platforms = with stdenv.lib.platforms; linux ++ darwin;
};
}