Compare commits
2 commits
f66da6fee6
...
059831b532
Author | SHA1 | Date | |
---|---|---|---|
Bruno BELANYI | 059831b532 | ||
Bruno BELANYI | 76d165343e |
|
@ -5,8 +5,8 @@ in
|
||||||
{
|
{
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
xsession.pointerCursor = {
|
xsession.pointerCursor = {
|
||||||
package = pkgs.numix-cursor-theme;
|
package = pkgs.ambroisie.vimix-cursors;
|
||||||
name = "Numix-Cursor";
|
name = "Vimix-cursors";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,6 +16,8 @@ rec {
|
||||||
|
|
||||||
nolimips = pkgs.callPackage ./nolimips { };
|
nolimips = pkgs.callPackage ./nolimips { };
|
||||||
|
|
||||||
|
vimix-cursors = pkgs.callPackage ./vimix-cursors { };
|
||||||
|
|
||||||
unbound-zones-adblock = pkgs.callPackage ./unbound-zones-adblock {
|
unbound-zones-adblock = pkgs.callPackage ./unbound-zones-adblock {
|
||||||
inherit unified-hosts-lists;
|
inherit unified-hosts-lists;
|
||||||
};
|
};
|
||||||
|
|
44
pkgs/vimix-cursors/default.nix
Normal file
44
pkgs/vimix-cursors/default.nix
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
{ python3, fetchFromGitHub, inkscape, lib, stdenvNoCC, xcursorgen }:
|
||||||
|
let
|
||||||
|
py = python3.withPackages (ps: with ps; [ cairosvg ]);
|
||||||
|
in
|
||||||
|
stdenvNoCC.mkDerivation rec {
|
||||||
|
pname = "vimix-cursors";
|
||||||
|
version = "unstable-2020-04-28";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "vinceliuice";
|
||||||
|
repo = pname;
|
||||||
|
rev = "27ebb1935944bc986bf8ae85ee3343b8351d9823";
|
||||||
|
sha256 = "sha256-bIPRrKaNQ2Eo+T6zv7qeA1z7uRHXezM0yxh+uqA01Gs=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
inkscape
|
||||||
|
py
|
||||||
|
xcursorgen
|
||||||
|
];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
patchShebangs .
|
||||||
|
'';
|
||||||
|
|
||||||
|
buildPhase = ''
|
||||||
|
HOME="$NIX_BUILD_ROOT" ./build.sh
|
||||||
|
'';
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
install -dm 755 $out/share/icons
|
||||||
|
for color in "" "-white"; do
|
||||||
|
cp -pr dist''${color}/ "$out/share/icons/Vimix''${color}-cursors"
|
||||||
|
done
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "An X cursor theme inspired by Materia design";
|
||||||
|
homepage = "https://github.com/vinceliuice/Vimix-cursors";
|
||||||
|
license = licenses.gpl3Only;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
maintainers = with maintainers; [ ambroisie ];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue