Merge pull request #294648 from iynaix/init-hyprcursor

hyprcursor: init at 0.1.4

authored by Pol Dellaiera and committed by GitHub 06f5586e 2dbc8f62

+52
+52
pkgs/by-name/hy/hyprcursor/package.nix
···
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , cmake 5 + , pkg-config 6 + , cairo 7 + , hyprlang 8 + , librsvg 9 + , libzip 10 + , nix-update-script 11 + }: 12 + stdenv.mkDerivation (finalAttrs: { 13 + pname = "hyprcursor"; 14 + version = "0.1.4"; 15 + 16 + src = fetchFromGitHub { 17 + owner = "hyprwm"; 18 + repo = "hyprcursor"; 19 + rev = "refs/tags/v${finalAttrs.version}"; 20 + hash = "sha256-m5I69a5t+xXxNMQrFuzKgPR6nrFiWDEDnEqlVwTy4C4="; 21 + }; 22 + 23 + nativeBuildInputs = [ 24 + cmake 25 + pkg-config 26 + ]; 27 + 28 + buildInputs = [ 29 + cairo 30 + hyprlang 31 + librsvg 32 + libzip 33 + ]; 34 + 35 + outputs = [ 36 + "out" 37 + "dev" 38 + "lib" 39 + ]; 40 + 41 + passthru.updateScript = nix-update-script { }; 42 + 43 + meta = { 44 + homepage = "https://github.com/hyprwm/hyprcursor"; 45 + description = "The hyprland cursor format, library and utilities"; 46 + changelog = "https://github.com/hyprwm/hyprcursor/releases/tag/v${finalAttrs.version}"; 47 + license = lib.licenses.bsd3; 48 + maintainers = with lib.maintainers; [ iynaix ]; 49 + mainProgram = "hyprcursor-util"; 50 + platforms = lib.platforms.linux; 51 + }; 52 + })