8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
32 lines
683 B
Nix
32 lines
683 B
Nix
{ stdenv, fetchFromGitHub, pkgconfig, libpng, xorg }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "xcur2png";
|
|
version = "0.7.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "eworm-de";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "0858wn2p14bxpv9lvaz2bz1rk6zk0g8zgxf8iy595m8fqv4q2fya";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkgconfig
|
|
];
|
|
|
|
buildInputs = [
|
|
libpng
|
|
xorg.libX11
|
|
xorg.libXcursor
|
|
xorg.xorgproto
|
|
];
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = "https://github.com/eworm-de/xcur2png/releases";
|
|
description = "Convert X cursors to PNG images";
|
|
license = licenses.gpl3;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ romildo ];
|
|
};
|
|
}
|