Merge pull request #294648 from iynaix/init-hyprcursor
hyprcursor: init at 0.1.4
This commit is contained in:
commit
06f5586ebc
1 changed files with 52 additions and 0 deletions
52
pkgs/by-name/hy/hyprcursor/package.nix
Normal file
52
pkgs/by-name/hy/hyprcursor/package.nix
Normal file
|
@ -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;
|
||||
};
|
||||
})
|
Loading…
Reference in a new issue