mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
Merge pull request #93917 from zaninime/openzone
This commit is contained in:
commit
c9234f3a99
3 changed files with 57 additions and 0 deletions
24
pkgs/data/themes/openzone/default.nix
Normal file
24
pkgs/data/themes/openzone/default.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{ stdenv, fetchFromGitHub, icon-slicer, xcursorgen }:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "openzone-cursors";
|
||||
version = "1.2.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ducakar";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "02c536mc17ccsrzgma366k3wlm02ivklvr30fafxl981zgghlii4";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ icon-slicer xcursorgen ];
|
||||
|
||||
makeFlags = [ "DESTDIR=$(out)" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Clean and sharp X11/Wayland cursor theme";
|
||||
homepage = "https://www.gnome-look.org/p/999999/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ zaninime ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
29
pkgs/tools/X11/icon-slicer/default.nix
Normal file
29
pkgs/tools/X11/icon-slicer/default.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{ stdenv, fetchurl, pkg-config, gdk-pixbuf, popt }:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "icon-slicer";
|
||||
version = "0.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://freedesktop.org/software/icon-slicer/releases/icon-slicer-${version}.tar.gz";
|
||||
sha256 = "0kdnc08k2rs8llfg7xgvnrsk60x59pv5fqz6kn2ifnn2s1nj3w05";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fixes hotspot `y` coordinate. The `x` coordinate is used on the y-axis.
|
||||
(fetchurl {
|
||||
url = "https://aur.archlinux.org/cgit/aur.git/plain/hotspotfix.patch?h=icon-slicer";
|
||||
sha256 = "1l1dc1x5p4hys02arkmq3x6b1xdi510969d25g928zr4gf4an03h";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ popt pkg-config ];
|
||||
buildInputs = [ gdk-pixbuf ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Utility for generating icon themes and libXcursor cursor themes";
|
||||
homepage = "https://www.freedesktop.org/wiki/Software/icon-slicer/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ zaninime ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
|
@ -2374,6 +2374,8 @@ in
|
|||
|
||||
inchi = callPackage ../development/libraries/inchi {};
|
||||
|
||||
icon-slicer = callPackage ../tools/X11/icon-slicer { };
|
||||
|
||||
ifm = callPackage ../tools/graphics/ifm {};
|
||||
|
||||
ink = callPackage ../tools/misc/ink { };
|
||||
|
@ -20264,6 +20266,8 @@ in
|
|||
|
||||
open-sans = callPackage ../data/fonts/open-sans { };
|
||||
|
||||
openzone-cursors = callPackage ../data/themes/openzone { };
|
||||
|
||||
orbitron = callPackage ../data/fonts/orbitron { };
|
||||
|
||||
orion = callPackage ../data/themes/orion {};
|
||||
|
|
Loading…
Reference in a new issue