mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
Adding pngtoico.
svn path=/nixpkgs/trunk/; revision=31264
This commit is contained in:
parent
b3709689db
commit
b15381fcf6
23
pkgs/tools/graphics/pngtoico/default.nix
Normal file
23
pkgs/tools/graphics/pngtoico/default.nix
Normal file
@ -0,0 +1,23 @@
|
||||
{ stdenv, fetchurl, libpng }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "pngtoico-1.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://kernel/software/graphics/pngtoico/pngtoico-1.0.tar.gz;
|
||||
sha256 = "1xb4aa57sjvgqfp01br3dm72hf7q0gb2ad144s1ifrs09215fgph";
|
||||
};
|
||||
|
||||
configurePhase = ''
|
||||
sed -i s,/usr/local,$out, Makefile
|
||||
'';
|
||||
|
||||
buildInputs = [ libpng ];
|
||||
|
||||
meta = {
|
||||
homepage = http://www.kernel.org/pub/software/graphics/pngtoico/;
|
||||
description = "Small utility to convert a set of PNG images to Microsoft ICO format";
|
||||
license = "GPLv2+";
|
||||
platforms = with stdenv.lib.platforms; linux;
|
||||
};
|
||||
}
|
@ -1203,6 +1203,8 @@ let
|
||||
|
||||
pngnq = callPackage ../tools/graphics/pngnq { };
|
||||
|
||||
pngtoico = callPackage ../tools/graphics/pngtoico { };
|
||||
|
||||
polipo = callPackage ../servers/polipo { };
|
||||
|
||||
polkit_gnome = callPackage ../tools/security/polkit-gnome { };
|
||||
|
Loading…
Reference in New Issue
Block a user