diff options
| author | Fuwn <[email protected]> | 2024-09-14 04:42:19 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-09-14 04:42:19 -0700 |
| commit | e57ca4059a3b89f08f4c550e18ad4c8d424287ab (patch) | |
| tree | fb3f2dd260e441374788bf03e552a2aaa4f77166 /pkgs/swaddle.nix | |
| parent | lib: refactor build-rust-package (diff) | |
| download | nixos-config-e57ca4059a3b89f08f4c550e18ad4c8d424287ab.tar.xz nixos-config-e57ca4059a3b89f08f4c550e18ad4c8d424287ab.zip | |
home: t
Diffstat (limited to 'pkgs/swaddle.nix')
| -rw-r--r-- | pkgs/swaddle.nix | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/pkgs/swaddle.nix b/pkgs/swaddle.nix index 171b804..7b1778e 100644 --- a/pkgs/swaddle.nix +++ b/pkgs/swaddle.nix @@ -10,15 +10,18 @@ let inherit lib rustPlatform fetchFromGitHub; }; in -buildRustPackage { - pname = "swaddle"; - version = "5a91352b3fc84d3af5d82eeda90f4b6844126dcb"; - githubOwner = "ATTron"; - githubHash = "sha256-tZAmaHXatzAo+sF2eBO2xsvJX2G2h6ShFRFpCHJcVew="; - cargoHash = "sha256-q+EkvenuJGxmfDpPnvQa3lJSc+CUCFxesmDaVGbBngE="; - description = "Swayidle inhibitor when watching content or listening to audio"; - license = lib.licenses.mit; - maintainers = with lib.maintainers; [ Fuwn ]; - nativeBuildInputs = [ pkg-config ]; - buildInputs = [ dbus.dev ]; -} +buildRustPackage ( + with lib; + { + pname = "swaddle"; + version = "5a91352b3fc84d3af5d82eeda90f4b6844126dcb"; + githubOwner = "ATTron"; + githubHash = "sha256-tZAmaHXatzAo+sF2eBO2xsvJX2G2h6ShFRFpCHJcVew="; + cargoHash = "sha256-q+EkvenuJGxmfDpPnvQa3lJSc+CUCFxesmDaVGbBngE="; + description = "Swayidle inhibitor when watching content or listening to audio"; + license = licenses.mit; + maintainers = [ maintainers.Fuwn ]; + nativeBuildInputs = [ pkg-config ]; + buildInputs = [ dbus.dev ]; + } +) |