diff options
| author | Fuwn <[email protected]> | 2024-08-31 14:40:38 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-08-31 14:40:38 -0700 |
| commit | 81b1033e9717fbc7aed411c023a2c9364ca1d249 (patch) | |
| tree | 387308cd1fc40e9b95789db7c3fbfde260a08179 /pkgs | |
| parent | tings (diff) | |
| download | nixos-config-81b1033e9717fbc7aed411c023a2c9364ca1d249.tar.xz nixos-config-81b1033e9717fbc7aed411c023a2c9364ca1d249.zip | |
t
Diffstat (limited to 'pkgs')
| -rw-r--r-- | pkgs/ahoviewer.nix | 4 | ||||
| -rw-r--r-- | pkgs/cargo-clean-all.nix | 19 | ||||
| -rw-r--r-- | pkgs/chan-downloader.nix | 24 | ||||
| -rw-r--r-- | pkgs/git-sumi.nix | 20 | ||||
| -rw-r--r-- | pkgs/swaddle.nix | 24 |
5 files changed, 88 insertions, 3 deletions
diff --git a/pkgs/ahoviewer.nix b/pkgs/ahoviewer.nix index 38524dc..dbd747c 100644 --- a/pkgs/ahoviewer.nix +++ b/pkgs/ahoviewer.nix @@ -1,6 +1,4 @@ -{ - pkgs ? import <nixpkgs> { }, -}: +{ pkgs ? import <nixpkgs> { } }: pkgs.stdenv.mkDerivation rec { pname = "ahoviewer"; version = "42e16f9"; diff --git a/pkgs/cargo-clean-all.nix b/pkgs/cargo-clean-all.nix new file mode 100644 index 0000000..2e2055f --- /dev/null +++ b/pkgs/cargo-clean-all.nix @@ -0,0 +1,19 @@ +{ lib +, rustPlatform +, fetchFromGitHub +, +}: +let + rustUtils = import ../lib/rust-utils.nix { + inherit lib rustPlatform fetchFromGitHub; + }; +in +rustUtils.mkRustPackage { + pname = "cargo-clean-all"; + version = "21b0d4a451629f1f9073dbab8b32a6de85b33f75"; + githubOwner = "dnlmlr"; + githubHash = "sha256-rNwAzpBUAFDt6SpVi1htAMTB7TUD4YqpxJkd3hYCPAQ="; + cargoHash = "sha256-/2wCKAmYYKMYe6V6Y1DPfaE+/WuhFs9zX4+B2OtxGBc="; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ Fuwn ]; +} diff --git a/pkgs/chan-downloader.nix b/pkgs/chan-downloader.nix new file mode 100644 index 0000000..e63983a --- /dev/null +++ b/pkgs/chan-downloader.nix @@ -0,0 +1,24 @@ +{ lib +, rustPlatform +, fetchFromGitHub +, pkg-config +, openssl +, +}: +let + rustUtils = import ../lib/rust-utils.nix { + inherit lib rustPlatform fetchFromGitHub; + }; +in +rustUtils.mkRustPackage { + pname = "chan-downloader"; + version = "e418e909ab90c8700d51b08e170051804a6919d2"; + githubOwner = "Fuwn"; + githubHash = "sha256-x0pKdaQFPXbdK7BjzZNA9Bq1RL2+ipe8DWav9fbLDp4="; + cargoHash = "sha256-G0vcigHj83d9j6qMc23NTzdFMrFsNNSYBhHZYyAJhYo="; + description = "CLI to download all images/webms in a 4chan thread"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ Fuwn ]; + nativeBuildInputs = [ pkg-config ]; + buildInputs = [ openssl.dev ]; +} diff --git a/pkgs/git-sumi.nix b/pkgs/git-sumi.nix new file mode 100644 index 0000000..3f84a33 --- /dev/null +++ b/pkgs/git-sumi.nix @@ -0,0 +1,20 @@ +{ lib +, rustPlatform +, fetchFromGitHub +, +}: +let + rustUtils = import ../lib/rust-utils.nix { + inherit lib rustPlatform fetchFromGitHub; + }; +in +rustUtils.mkRustPackage { + pname = "git-sumi"; + version = "3822ce390a2a04eec4513f83586f775e59f3cbf1"; + githubOwner = "welpo"; + githubHash = "sha256-s8ZeO1vprQG8POimfZqLDbfZoG2ww1plr+V5ob59kik="; + cargoHash = "sha256-hKRE3y+njdbThTHgxAGP5ZGkawSpsMLeBzNPDsBsaxY="; + description = "The non-opinionated Rust-based commit message linter."; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ Fuwn ]; +} diff --git a/pkgs/swaddle.nix b/pkgs/swaddle.nix new file mode 100644 index 0000000..bd83e34 --- /dev/null +++ b/pkgs/swaddle.nix @@ -0,0 +1,24 @@ +{ lib +, rustPlatform +, fetchFromGitHub +, dbus +, pkg-config +, +}: +let + rustUtils = import ../lib/rust-utils.nix { + inherit lib rustPlatform fetchFromGitHub; + }; +in +rustUtils.mkRustPackage { + 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 ]; +} |