b6f2ab0a42
GitOrigin-RevId: 253aecf69ed7595aaefabde779aa6449195bebb7
24 lines
639 B
Nix
24 lines
639 B
Nix
{ lib, stdenv, fetchurl, libpng }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "pngtoico";
|
|
version = "1.0";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://kernel/software/graphics/pngtoico/pngtoico-${version}.tar.gz";
|
|
sha256 = "1xb4aa57sjvgqfp01br3dm72hf7q0gb2ad144s1ifrs09215fgph";
|
|
};
|
|
|
|
configurePhase = ''
|
|
sed -i s,/usr/local,$out, Makefile
|
|
'';
|
|
|
|
buildInputs = [ libpng ];
|
|
|
|
meta = {
|
|
homepage = "https://www.kernel.org/pub/software/graphics/pngtoico/";
|
|
description = "Small utility to convert a set of PNG images to Microsoft ICO format";
|
|
license = lib.licenses.gpl2Plus;
|
|
platforms = with lib.platforms; linux;
|
|
};
|
|
}
|