mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-20 19:16:11 +00:00
inhibridge: init at 0.3.0 (#268276)
This commit is contained in:
commit
d211b80768
29
pkgs/by-name/in/inhibridge/package.nix
Normal file
29
pkgs/by-name/in/inhibridge/package.nix
Normal file
@ -0,0 +1,29 @@
|
||||
{
|
||||
lib,
|
||||
rustPlatform,
|
||||
fetchFromGitea,
|
||||
}:
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "inhibridge";
|
||||
version = "0.3.0";
|
||||
|
||||
src = fetchFromGitea {
|
||||
domain = "codeberg.org";
|
||||
owner = "Scrumplex";
|
||||
repo = "inhibridge";
|
||||
rev = version;
|
||||
hash = "sha256-cKVw3Gd4Ml8BeXjZqTN6ToeRzO9PI+Sn45gpltlRuWM=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-uKSbxAsGUR2nYfdtiTR/bgPBQunqYLzx3+CmszNilPQ=";
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://codeberg.org/Scrumplex/inhibridge";
|
||||
description = "Simple daemon that bridges freedesktop.org ScreenSaver inhibitions to systemd-inhibit";
|
||||
platforms = platforms.linux;
|
||||
license = licenses.agpl3Plus;
|
||||
maintainers = with maintainers; [Scrumplex];
|
||||
mainProgram = "inhibridge";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user