3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/graphics/xcur2png/default.nix

33 lines
683 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, pkg-config, libpng, xorg }:
2018-12-11 13:11:15 +00:00
stdenv.mkDerivation rec {
pname = "xcur2png";
version = "0.7.1";
src = fetchFromGitHub {
owner = "eworm-de";
repo = pname;
rev = version;
sha256 = "0858wn2p14bxpv9lvaz2bz1rk6zk0g8zgxf8iy595m8fqv4q2fya";
};
nativeBuildInputs = [
pkg-config
2018-12-11 13:11:15 +00:00
];
buildInputs = [
libpng
xorg.libX11
xorg.libXcursor
xorg.xorgproto
];
meta = with lib; {
homepage = "https://github.com/eworm-de/xcur2png/releases";
2018-12-11 13:11:15 +00:00
description = "Convert X cursors to PNG images";
license = licenses.gpl3;
platforms = platforms.unix;
maintainers = with maintainers; [ romildo ];
};
}