Skip to content

Commit

Permalink
inhibridge: init at 0.3.0 (#268276)
Browse files Browse the repository at this point in the history
  • Loading branch information
pbsds authored Sep 19, 2024
2 parents af48292 + 0407dd7 commit d211b80
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions pkgs/by-name/in/inhibridge/package.nix
Original file line number Diff line number Diff line change
@@ -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";
};
}

0 comments on commit d211b80

Please sign in to comment.