This commit is contained in:
2025-04-20 12:30:39 +03:00
parent fce3a4ff0c
commit fd163750c8
7 changed files with 887 additions and 0 deletions
+53
View File
@@ -0,0 +1,53 @@
{pkgs}: let
inherit
(pkgs)
lib
rustPlatform
fetchFromGitHub
pkg-config
openssl
zlib
stdenv
darwin
;
in
rustPlatform.buildRustPackage rec {
pname = "aim";
version = "1.8.6";
src = fetchFromGitHub {
owner = "mihaigalos";
repo = "aim";
rev = version;
hash = "sha256-+oeyaPBsgQ+eNEGx9lRnNKjTSowLd0T+8WUln1UizBA=";
};
cargoHash = "sha256-LeFhaXtzCSujlVuqaIiXYL2TlhlpgqsN9+fACv9iEmY=";
nativeBuildInputs = [
pkg-config
];
buildInputs =
[
openssl
zlib
]
++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Security
darwin.apple_sdk.frameworks.SystemConfiguration
];
env = {
OPENSSL_NO_VENDOR = true;
};
meta = {
description = "A command line download/upload tool with resume";
homepage = "https://github.com/mihaigalos/aim";
changelog = "https://github.com/mihaigalos/aim/blob/${src.rev}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [];
mainProgram = "aim";
};
}
+26
View File
@@ -0,0 +1,26 @@
{pkgs}: let
inherit (pkgs) lib buildGoModule fetchFromGitHub;
in
buildGoModule rec {
pname = "bt";
version = "1.1.0";
src = fetchFromGitHub {
owner = "LeperGnome";
repo = "bt";
rev = "v${version}";
hash = "sha256-q6vi9dxKWz+mCqRQ11BA/rjXGEOGcHIsmsQSuyWtaLk=";
};
vendorHash = "sha256-nBswqk3XAPvjW1qRMHq1waqXLKwXYXVXFpGcByqSS2k=";
ldflags = ["-s" "-w"];
meta = {
description = "Interactive tree-like terminal file manager";
homepage = "https://github.com/LeperGnome/bt";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [];
mainProgram = "bt";
};
}
+33
View File
@@ -0,0 +1,33 @@
{pkgs}: let
inherit (pkgs) lib buildGoModule fetchFromGitHub;
in
buildGoModule rec {
pname = "pillager";
version = "0.11.6";
src = fetchFromGitHub {
owner = "brittonhayes";
repo = "pillager";
rev = "v${version}";
hash = "sha256-GHjAm6x96m79pnberfYKiUujnlahsVqNixY4I9R7AOc=";
};
vendorHash = "sha256-uNPNUsD1hEvHKGb5EyEjDanc21ro6dm68ecdyG/+hlk=";
ldflags = [
"-s"
"-w"
"-X=github.com/brittonhayes/pillager/internal/commands/version.version=${version}"
"-X=main.commit=${src.rev}"
"-X=main.date=1970-01-01T00:00:00Z"
"-X=main.builtBy=goreleaser"
];
meta = {
description = "Pillage filesystems for sensitive information with Go";
homepage = "https://github.com/brittonhayes/pillager";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [];
mainProgram = "pillager";
};
}
+44
View File
@@ -0,0 +1,44 @@
{pkgs}: let
inherit
(pkgs)
lib
rustPlatform
fetchFromGitHub
pkg-config
cairo
glib
pango
wayland
;
in
rustPlatform.buildRustPackage rec {
pname = "wl-tray-bridge";
version = "unstable-2024-10-24";
src = fetchFromGitHub {
owner = "mahkoh";
repo = "wl-tray-bridge";
rev = "5ea5bbddcf1dbb2ab4836b00b300803c928469c5";
hash = "sha256-ewoHopL9/hgErshUWZBZ4H6MKt7iQD7x+4MebNzDdXQ=";
};
cargoHash = "sha256-yvuHE3LdFUSZkcBZH3zangFUfCZNAlkDeW8qFyU/LgU=";
nativeBuildInputs = [
pkg-config
];
buildInputs = [
cairo
glib
pango
wayland
];
meta = {
description = "";
homepage = "https://github.com/mahkoh/wl-tray-bridge";
license = lib.licenses.gpl3Only;
mainProgram = "wl-tray-bridge";
};
}