diff options
author | Pol Dellaiera <pol.dellaiera@protonmail.com> | 2024-03-13 16:36:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-13 16:36:08 +0100 |
commit | 06f5586ebc29670c8b5aac9fed2e8748fb7668f0 (patch) | |
tree | c9da712d1d5b9f7bcd736f39a364b705cb5f6177 /pkgs/by-name | |
parent | 2dbc8f62d8af7a1ab962e4b20d12b25ddcb86ced (diff) | |
parent | d8fe908e3944966b38fd477ed92220f1a1236c49 (diff) | |
download | nixlib-06f5586ebc29670c8b5aac9fed2e8748fb7668f0.tar nixlib-06f5586ebc29670c8b5aac9fed2e8748fb7668f0.tar.gz nixlib-06f5586ebc29670c8b5aac9fed2e8748fb7668f0.tar.bz2 nixlib-06f5586ebc29670c8b5aac9fed2e8748fb7668f0.tar.lz nixlib-06f5586ebc29670c8b5aac9fed2e8748fb7668f0.tar.xz nixlib-06f5586ebc29670c8b5aac9fed2e8748fb7668f0.tar.zst nixlib-06f5586ebc29670c8b5aac9fed2e8748fb7668f0.zip |
Merge pull request #294648 from iynaix/init-hyprcursor
hyprcursor: init at 0.1.4
Diffstat (limited to 'pkgs/by-name')
-rw-r--r-- | pkgs/by-name/hy/hyprcursor/package.nix | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/pkgs/by-name/hy/hyprcursor/package.nix b/pkgs/by-name/hy/hyprcursor/package.nix new file mode 100644 index 000000000000..37add539a530 --- /dev/null +++ b/pkgs/by-name/hy/hyprcursor/package.nix @@ -0,0 +1,52 @@ +{ lib +, stdenv +, fetchFromGitHub +, cmake +, pkg-config +, cairo +, hyprlang +, librsvg +, libzip +, nix-update-script +}: +stdenv.mkDerivation (finalAttrs: { + pname = "hyprcursor"; + version = "0.1.4"; + + src = fetchFromGitHub { + owner = "hyprwm"; + repo = "hyprcursor"; + rev = "refs/tags/v${finalAttrs.version}"; + hash = "sha256-m5I69a5t+xXxNMQrFuzKgPR6nrFiWDEDnEqlVwTy4C4="; + }; + + nativeBuildInputs = [ + cmake + pkg-config + ]; + + buildInputs = [ + cairo + hyprlang + librsvg + libzip + ]; + + outputs = [ + "out" + "dev" + "lib" + ]; + + passthru.updateScript = nix-update-script { }; + + meta = { + homepage = "https://github.com/hyprwm/hyprcursor"; + description = "The hyprland cursor format, library and utilities"; + changelog = "https://github.com/hyprwm/hyprcursor/releases/tag/v${finalAttrs.version}"; + license = lib.licenses.bsd3; + maintainers = with lib.maintainers; [ iynaix ]; + mainProgram = "hyprcursor-util"; + platforms = lib.platforms.linux; + }; +}) |