summaryrefslogtreecommitdiff
path: root/pkgs
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-09-14 04:42:19 -0700
committerFuwn <[email protected]>2024-09-14 04:42:19 -0700
commite57ca4059a3b89f08f4c550e18ad4c8d424287ab (patch)
treefb3f2dd260e441374788bf03e552a2aaa4f77166 /pkgs
parentlib: refactor build-rust-package (diff)
downloadnixos-config-e57ca4059a3b89f08f4c550e18ad4c8d424287ab.tar.xz
nixos-config-e57ca4059a3b89f08f4c550e18ad4c8d424287ab.zip
home: t
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/ahoviewer.nix2
-rw-r--r--pkgs/bindtointerface.nix2
-rw-r--r--pkgs/cargo-clean-all.nix21
-rw-r--r--pkgs/chan-downloader.nix27
-rw-r--r--pkgs/git-sumi.nix23
-rw-r--r--pkgs/swaddle.nix27
-rw-r--r--pkgs/t.nix22
7 files changed, 79 insertions, 45 deletions
diff --git a/pkgs/ahoviewer.nix b/pkgs/ahoviewer.nix
index 38524dc..cd87578 100644
--- a/pkgs/ahoviewer.nix
+++ b/pkgs/ahoviewer.nix
@@ -48,7 +48,7 @@ pkgs.stdenv.mkDerivation rec {
description = "A GTK image viewer, manga reader, and booru browser";
homepage = "https://github.com/ahodesuka/ahoviewer";
license = licenses.mit;
- maintainers = with maintainers; [ ];
+ maintainers = [ maintainers.Fuwn ];
platforms = platforms.linux;
};
}
diff --git a/pkgs/bindtointerface.nix b/pkgs/bindtointerface.nix
index cab10b3..3372d5d 100644
--- a/pkgs/bindtointerface.nix
+++ b/pkgs/bindtointerface.nix
@@ -45,7 +45,7 @@ stdenv.mkDerivation {
description = "With this program you can bind applications to a specific network interface / network adapter.";
homepage = "https://github.com/JsBergbau/BindToInterface";
license = licenses.gpl2;
- maintainers = with lib.maintainers; [ Fuwn ];
+ maintainers = [ maintainers.Fuwn ];
platforms = platforms.linux;
};
}
diff --git a/pkgs/cargo-clean-all.nix b/pkgs/cargo-clean-all.nix
index 945373b..c54e593 100644
--- a/pkgs/cargo-clean-all.nix
+++ b/pkgs/cargo-clean-all.nix
@@ -8,12 +8,15 @@ let
inherit lib rustPlatform fetchFromGitHub;
};
in
-buildRustPackage {
- 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 ];
-}
+buildRustPackage (
+ with lib;
+ {
+ pname = "cargo-clean-all";
+ version = "21b0d4a451629f1f9073dbab8b32a6de85b33f75";
+ githubOwner = "dnlmlr";
+ githubHash = "sha256-rNwAzpBUAFDt6SpVi1htAMTB7TUD4YqpxJkd3hYCPAQ=";
+ cargoHash = "sha256-/2wCKAmYYKMYe6V6Y1DPfaE+/WuhFs9zX4+B2OtxGBc=";
+ license = licenses.mit;
+ maintainers = [ maintainers.Fuwn ];
+ }
+)
diff --git a/pkgs/chan-downloader.nix b/pkgs/chan-downloader.nix
index 6129d28..ad3241f 100644
--- a/pkgs/chan-downloader.nix
+++ b/pkgs/chan-downloader.nix
@@ -10,15 +10,18 @@ let
inherit lib rustPlatform fetchFromGitHub;
};
in
-buildRustPackage {
- 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 ];
-}
+buildRustPackage (
+ with lib;
+ {
+ 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 = licenses.mit;
+ maintainers = [ maintainers.Fuwn ];
+ nativeBuildInputs = [ pkg-config ];
+ buildInputs = [ openssl.dev ];
+ }
+)
diff --git a/pkgs/git-sumi.nix b/pkgs/git-sumi.nix
index e58fcab..19c4ef1 100644
--- a/pkgs/git-sumi.nix
+++ b/pkgs/git-sumi.nix
@@ -8,13 +8,16 @@ let
inherit lib rustPlatform fetchFromGitHub;
};
in
-buildRustPackage {
- 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 ];
-}
+buildRustPackage (
+ with lib;
+ {
+ 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 = licenses.asl20;
+ maintainers = [ maintainers.Fuwn ];
+ }
+)
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 ];
+ }
+)
diff --git a/pkgs/t.nix b/pkgs/t.nix
new file mode 100644
index 0000000..923bb58
--- /dev/null
+++ b/pkgs/t.nix
@@ -0,0 +1,22 @@
+{
+ lib,
+ rustPlatform,
+ fetchFromGitHub,
+}:
+let
+ buildRustPackage = import ../lib/build-rust-package.nix {
+ inherit lib rustPlatform fetchFromGitHub;
+ };
+in
+buildRustPackage (
+ with lib;
+ {
+ pname = "t";
+ version = "30a0bf6e5aec20c40e1b0c96fe9c6e3521997ff3";
+ githubOwner = "nixports";
+ githubHash = "sha256-4xlo+WecV0wAHaHRN37HvEaKnUHIRBSMk6BWn7PAIPc=";
+ cargoHash = "sha256-olRytgRRCj9V+V96Q1Eb+JOGxFKhhd/1C2Ge4NXv86Q=";
+ maintainers = with maintainers; [ Fuwn ];
+ license = licenses.mit;
+ }
+)