nixos-config/modules/packages/bibata-cursors.nix

27 lines
666 B
Nix
Raw Normal View History

2021-02-07 02:38:11 +03:00
{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "bibata-cursors";
2021-06-16 05:30:04 +03:00
version = "1.1.1";
2021-02-07 02:38:11 +03:00
src = fetchurl {
url = "https://github.com/ful1e5/Bibata_Cursor/releases/download/v${version}/Bibata.tar.gz";
2021-06-27 20:44:11 +03:00
sha256 = "sha256-AcX30YL4HSqzlmTiC0MIStNWuWllkQqjNbkRTQkpu18=";
2021-02-07 02:38:11 +03:00
};
2021-06-16 05:30:04 +03:00
phases = [ "installPhase" ];
2021-02-07 02:38:11 +03:00
installPhase = ''
mkdir -p "$out/share/icons"
tar -xf $src --directory "$out/share/icons/"
'';
meta = with lib; {
description = "Material Based Cursor";
homepage = "https://github.com/ful1e5/Bibata_Cursor";
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ ];
};
2021-06-27 20:44:11 +03:00
}