mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-18 05:38:55 +00:00
hyprlauncher: init at 0.1.2
This commit is contained in:
parent
12b0670543
commit
bd112af16a
45
pkgs/by-name/hy/hyprlauncher/package.nix
Normal file
45
pkgs/by-name/hy/hyprlauncher/package.nix
Normal file
@ -0,0 +1,45 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
rustPlatform,
|
||||
pkg-config,
|
||||
glib,
|
||||
pango,
|
||||
gtk4,
|
||||
wrapGAppsHook4,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "hyprlauncher";
|
||||
version = "0.1.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hyprutils";
|
||||
repo = "hyprlauncher";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-SxsCfEHrJpFSi2BEFFqmJLGJIVzkluDU6ogKkTRT9e8=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-MENreS+DXdJIurWUqHbeb0cCJlRnjjW1bmGdg0QoxlQ=";
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
wrapGAppsHook4
|
||||
];
|
||||
buildInputs = [
|
||||
glib
|
||||
pango
|
||||
gtk4
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "GUI for launching applications, written in Rust";
|
||||
homepage = "https://github.com/hyprutils/hyprlauncher";
|
||||
license = lib.licenses.gpl2Only;
|
||||
maintainers = with lib.maintainers; [ arminius-smh ];
|
||||
platforms = lib.platforms.linux;
|
||||
mainProgram = "hyprlauncher";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user