Skip to content

Commit

Permalink
bibata-cursors: init at 0.4.1 (NixOS#51871)
Browse files Browse the repository at this point in the history
  • Loading branch information
David McKay authored and Mic92 committed Dec 13, 2018
1 parent f8d0069 commit 47f0086
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
41 changes: 41 additions & 0 deletions pkgs/data/icons/bibata-cursors/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{ fetchFromGitHub, gnome-themes-extra, inkscape, stdenv, xcursorgen }:

stdenv.mkDerivation rec {
name = "bibata-cursors-${version}";
version = "0.4.1";

src = fetchFromGitHub {
owner = "KaizIqbal";
repo = "Bibata_Cursor";
rev = "v${version}";
sha256 = "14gvpjp4gv0m59qr8wls7xs5yjx5llldyzack5kg5cg2mzk2nsml";
};

postPatch = ''
patchShebangs .
substituteInPlace build.sh --replace "gksu " ""
'';

nativeBuildInputs = [
gnome-themes-extra
inkscape
xcursorgen
];

buildPhase = ''
HOME="$NIX_BUILD_ROOT" ./build.sh
'';

installPhase = ''
install -dm 0755 $out/share/icons
cp -pr Bibata_* $out/share/icons/
'';

meta = with stdenv.lib; {
description = "Material Based Cursor";
homepage = https://github.com/KaizIqbal/Bibata_Cursor;
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ rawkode ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15281,6 +15281,8 @@ in

bgnet = callPackage ../data/documentation/bgnet { };

bibata-cursors = callPackage ../data/icons/bibata-cursors { };

brise = callPackage ../data/misc/brise { };

inherit (kdeFrameworks) breeze-icons;
Expand Down

0 comments on commit 47f0086

Please sign in to comment.