diff options
author | worldofpeace <worldofpeace@users.noreply.github.com> | 2019-04-01 00:32:53 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-01 00:32:53 -0400 |
commit | e89a4ec1fb3b2586b724f88b127b201b8f2a3045 (patch) | |
tree | fe37230047364d6d08c7923db54e32c0226b70fb | |
parent | d5857940216947c0c4b9fbbd54a214ecaf1123d8 (diff) | |
parent | 4d5a4a64bff00fac7e423ccce8b3574ad8c109c1 (diff) | |
download | nixpkgs-e89a4ec1fb3b2586b724f88b127b201b8f2a3045.tar nixpkgs-e89a4ec1fb3b2586b724f88b127b201b8f2a3045.tar.gz nixpkgs-e89a4ec1fb3b2586b724f88b127b201b8f2a3045.tar.bz2 nixpkgs-e89a4ec1fb3b2586b724f88b127b201b8f2a3045.tar.lz nixpkgs-e89a4ec1fb3b2586b724f88b127b201b8f2a3045.tar.xz nixpkgs-e89a4ec1fb3b2586b724f88b127b201b8f2a3045.tar.zst nixpkgs-e89a4ec1fb3b2586b724f88b127b201b8f2a3045.zip |
Merge pull request #58564 from romildo/upd.xcur2png
xcur2png: init at 0.7.1
-rw-r--r-- | pkgs/tools/graphics/xcur2png/default.nix | 32 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/tools/graphics/xcur2png/default.nix b/pkgs/tools/graphics/xcur2png/default.nix new file mode 100644 index 00000000000..1e3da5dddec --- /dev/null +++ b/pkgs/tools/graphics/xcur2png/default.nix @@ -0,0 +1,32 @@ +{ 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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index bb1b3ff365d..3791afc5909 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6493,6 +6493,8 @@ in xclip = callPackage ../tools/misc/xclip { }; + xcur2png = callPackage ../tools/graphics/xcur2png { }; + xcwd = callPackage ../tools/X11/xcwd { }; xtitle = callPackage ../tools/misc/xtitle { }; |