rose-pine-cursor: init at 1.1.0
fix: meta Co-authored-by: Jeremy <jtbx@duck.com> fix: replace stdenv with stdenvNoCC Co-authored-by: Jeremy <jtbx@duck.com> style: fix indentation Co-authored-by: Jeremy <jtbx@duck.com> fix: replace r flag with R Co-authored-by: Jeremy <jtbx@duck.com> fix: variables fix: add closing parentheses at the end of the file feat: skip configure phase feat: skip build phase feat: add runhook for preInstall and postInstall in installPhase Co-authored-by: Jeremy <jtbx@duck.com> Revert "feat: skip configure phase" This reverts commit db36e576edd31f6dd4c5ec7ee6281478e4002487. Revert "feat: skip build phase" This reverts commit 92a193b7d8aafe9d29f925592cfbf261b52daf3c.
This commit is contained in:
parent
6023efb996
commit
d444ffff49
38
pkgs/by-name/ro/rose-pine-cursor/package.nix
Normal file
38
pkgs/by-name/ro/rose-pine-cursor/package.nix
Normal file
@ -0,0 +1,38 @@
|
||||
{ lib
|
||||
, stdenvNoCC
|
||||
, fetchurl
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "rose-pine-cursor";
|
||||
version = "1.1.0";
|
||||
|
||||
srcs = [
|
||||
(fetchurl {
|
||||
url = "https://github.com/rose-pine/cursor/releases/download/v${finalAttrs.version}/BreezeX-RosePine-Linux.tar.xz";
|
||||
hash = "sha256-szDVnOjg5GAgn2OKl853K3jZ5rVsz2PIpQ6dlBKJoa8=";
|
||||
})
|
||||
(fetchurl {
|
||||
url = "https://github.com/rose-pine/cursor/releases/download/v${finalAttrs.version}/BreezeX-RosePineDawn-Linux.tar.xz";
|
||||
hash = "sha256-hanfwx9ooT1TbmcgCr63KVYwC1OIzTwjmxzi4Zjcrdg=";
|
||||
})
|
||||
];
|
||||
|
||||
sourceRoot = ".";
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out/share/icons
|
||||
cp -R BreezeX-RosePine-Linux $out/share/icons/
|
||||
cp -R BreezeX-RosePineDawn-Linux $out/share/icons/
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Soho vibes for Cursors";
|
||||
downloadPage = "https://github.com/rose-pine/cursor/releases";
|
||||
homepage = "https://rosepinetheme.com/";
|
||||
license = licenses.gpl3;
|
||||
maintainers = with maintainers; [ aikooo7 ];
|
||||
};
|
||||
})
|
Loading…
Reference in New Issue
Block a user