push sheeet
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s

This commit is contained in:
Dark Steveneq
2025-10-09 14:15:47 +02:00
commit 646b892680
49168 changed files with 5897842 additions and 0 deletions

View File

@@ -0,0 +1,262 @@
diff --git a/Cargo.lock b/Cargo.lock
index 975cb99..f49f6ec 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1,12 +1,29 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
+version = 3
+
+[[package]]
+name = "addr2line"
+version = "0.21.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8a30b2e23b9e17a9f90641c7ab1549cd9b44f296d3ccbf309d2863cfe398a0cb"
+dependencies = [
+ "gimli",
+]
+
+[[package]]
+name = "adler"
+version = "1.0.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe"
+
[[package]]
name = "ansi_term"
-version = "0.11.0"
+version = "0.12.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ee49baf6cb617b853aa8d93bf420db2383fab46d314482ca2803b40d5fde979b"
+checksum = "d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2"
dependencies = [
- "winapi 0.3.8",
+ "winapi 0.3.9",
]
[[package]]
@@ -17,54 +34,47 @@ checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8"
dependencies = [
"hermit-abi",
"libc",
- "winapi 0.3.8",
+ "winapi 0.3.9",
]
[[package]]
name = "backtrace"
-version = "0.3.44"
+version = "0.3.69"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e4036b9bf40f3cf16aba72a3d65e8a520fc4bafcdc7079aea8f848c58c5b5536"
+checksum = "2089b7e3f35b9dd2d0ed921ead4f6d318c27680d4a5bd167b3ee120edb105837"
dependencies = [
- "backtrace-sys",
+ "addr2line",
+ "cc",
"cfg-if",
"libc",
+ "miniz_oxide",
+ "object",
"rustc-demangle",
]
-[[package]]
-name = "backtrace-sys"
-version = "0.1.32"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5d6575f128516de27e3ce99689419835fce9643a9b215a14d2b5b685be018491"
-dependencies = [
- "cc",
- "libc",
-]
-
[[package]]
name = "bitflags"
-version = "1.2.1"
+version = "1.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693"
+checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
[[package]]
name = "cc"
-version = "1.0.50"
+version = "1.0.90"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "95e28fa049fda1c330bcf9d723be7663a899c4679724b34c81e9f5a326aab8cd"
+checksum = "8cd6604a82acf3039f1144f54b8eb34e91ffba622051189e71b781822d5ee1f5"
[[package]]
name = "cfg-if"
-version = "0.1.10"
+version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822"
+checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
[[package]]
name = "clap"
-version = "2.33.0"
+version = "2.34.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5067f5bb2d80ef5d68b4c87db81601f0b75bca627bc2ef76b141d7b846a3c6d9"
+checksum = "a0610544180c38b88101fecf2dd634b174a62eef6946f84dfc6a7127512b381c"
dependencies = [
"ansi_term",
"atty",
@@ -77,19 +87,25 @@ dependencies = [
[[package]]
name = "error-chain"
-version = "0.12.2"
+version = "0.12.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d371106cc88ffdfb1eabd7111e432da544f16f3e2d7bf1dfe8bf575f1df045cd"
+checksum = "2d2f06b9cac1506ece98fe3231e3cc9c4410ec3d5b1f24ae1c8946f0742cdefc"
dependencies = [
"backtrace",
"version_check",
]
[[package]]
-name = "hermit-abi"
-version = "0.1.8"
+name = "gimli"
+version = "0.28.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1010591b26bbfe835e9faeabeb11866061cc7dcebffd56ad7d0942d0e61aefd8"
+checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253"
+
+[[package]]
+name = "hermit-abi"
+version = "0.1.19"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33"
dependencies = [
"libc",
]
@@ -106,19 +122,37 @@ dependencies = [
[[package]]
name = "libc"
-version = "0.2.67"
+version = "0.2.153"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "eb147597cdf94ed43ab7a9038716637d2d1bf2bc571da995d0028dec06bd3018"
+checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd"
[[package]]
-name = "redox_syscall"
-version = "0.1.56"
+name = "memchr"
+version = "2.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2439c63f3f6139d1b57529d16bc3b8bb855230c8efcc5d3a896c8bea7c3b1e84"
+checksum = "523dc4f511e55ab87b694dc30d0f820d60906ef06413f93d4d7a1385599cc149"
+
+[[package]]
+name = "miniz_oxide"
+version = "0.7.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9d811f3e15f28568be3407c8e7fdb6514c1cda3cb30683f15b6a1a1dc4ea14a7"
+dependencies = [
+ "adler",
+]
+
+[[package]]
+name = "object"
+version = "0.32.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a6a622008b6e321afc04970976f62ee297fdbaa6f95318ca343e3eebb9648441"
+dependencies = [
+ "memchr",
+]
[[package]]
name = "rm-improved"
-version = "0.13.0"
+version = "0.13.1"
dependencies = [
"clap",
"error-chain",
@@ -128,9 +162,9 @@ dependencies = [
[[package]]
name = "rustc-demangle"
-version = "0.1.16"
+version = "0.1.23"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4c691c0e608126e00913e33f0ccf3727d5fc84573623b8d65b2df340b5201783"
+checksum = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76"
[[package]]
name = "same-file"
@@ -159,32 +193,32 @@ dependencies = [
[[package]]
name = "time"
-version = "0.1.42"
+version = "0.1.45"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "db8dcfca086c1143c9270ac42a2bbd8a7ee477b78ac8e45b19abfb0cbede4b6f"
+checksum = "1b797afad3f312d1c66a56d11d0316f916356d11bd158fbc6ca6389ff6bf805a"
dependencies = [
"libc",
- "redox_syscall",
- "winapi 0.3.8",
+ "wasi",
+ "winapi 0.3.9",
]
[[package]]
name = "unicode-width"
-version = "0.1.7"
+version = "0.1.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "caaa9d531767d1ff2150b9332433f32a24622147e5ebb1f26409d5da67afd479"
+checksum = "e51733f11c9c4f72aa0c160008246859e340b00807569a0da0e7a1079b27ba85"
[[package]]
name = "vec_map"
-version = "0.8.1"
+version = "0.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "05c78687fb1a80548ae3250346c3db86a80a7cdd77bda190189f2d0a0987c81a"
+checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191"
[[package]]
name = "version_check"
-version = "0.9.1"
+version = "0.9.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "078775d0255232fb988e6fccf26ddc9d1ac274299aaedcedce21c6f72cc533ce"
+checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f"
[[package]]
name = "walkdir"
@@ -197,6 +231,12 @@ dependencies = [
"winapi 0.2.8",
]
+[[package]]
+name = "wasi"
+version = "0.10.0+wasi-snapshot-preview1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f"
+
[[package]]
name = "winapi"
version = "0.2.8"
@@ -205,9 +245,9 @@ checksum = "167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a"
[[package]]
name = "winapi"
-version = "0.3.8"
+version = "0.3.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8093091eeb260906a183e6ae1abdba2ef5ef2257a21801128899c3fc699229c6"
+checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
dependencies = [
"winapi-i686-pc-windows-gnu",
"winapi-x86_64-pc-windows-gnu",

View File

@@ -0,0 +1,32 @@
{
fetchFromGitHub,
rustPlatform,
lib,
}:
rustPlatform.buildRustPackage rec {
pname = "rm-improved";
version = "0.13.1";
src = fetchFromGitHub {
owner = "nivekuil";
repo = "rip";
rev = version;
hash = "sha256-jbXmGPrb9PhmCSUFVcCqg8HjntS2mrYeNuaMsU+zIFI=";
};
cargoHash = "sha256-jfrQkwJ6PcBs5W5F9x7Nt5xPP5f2G6MSb2AISu+g3gE=";
cargoPatches = [
# Cargo.lock out-of-date
./Cargo.lock.patch
];
meta = with lib; {
description = "Replacement for rm with focus on safety, ergonomics and performance";
homepage = "https://github.com/nivekuil/rip";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ nils-degroot ];
mainProgram = "rip";
};
}

View File

@@ -0,0 +1,44 @@
{
lib,
stdenv,
fetchurl,
}:
stdenv.mkDerivation rec {
pname = "rman";
version = "3.2";
src = fetchurl {
url = "mirror://sourceforge/polyglotman/${version}/${pname}-${version}.tar.gz";
sha256 = "0prdld6nbkdlkcgc2r1zp13h2fh8r0mlwxx423dnc695ddlk18b8";
};
postPatch = ''
substituteInPlace Makefile \
--replace ginstall install \
--replace gcc '${stdenv.cc.targetPrefix}cc'
'';
makeFlags = [
"BINDIR=$(out)/bin"
"MANDIR=$(out)/share/man"
];
preInstall = ''
mkdir -p $out/bin
mkdir -p $out/share/man
'';
hardeningDisable = [ "format" ];
env.NIX_CFLAGS_COMPILE = "-Wno-error=incompatible-pointer-types";
doCheck = false; # "check" target is probably meant to do "installcheck" or something
meta = {
description = "Parse formatted man pages and man page source from most flavors of UNIX and converts them to HTML, ASCII, TkMan, DocBook, and other formats";
license = lib.licenses.artistic1;
platforms = lib.platforms.all;
mainProgram = "rman";
};
}

View File

@@ -0,0 +1,30 @@
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "rmapi";
version = "0.0.31";
src = fetchFromGitHub {
owner = "ddvk";
repo = "rmapi";
rev = "v${version}";
sha256 = "sha256-8OzDXOyyz0VTeJg0P6jOBTA9OZbCLSK8SASSEHsrBxc=";
};
vendorHash = "sha256-Qisfw+lCFZns13jRe9NskCaCKVj5bV1CV8WPpGBhKFc=";
doCheck = false;
meta = {
description = "Go app that allows access to the ReMarkable Cloud API programmatically";
homepage = "https://github.com/ddvk/rmapi";
changelog = "https://github.com/ddvk/rmapi/blob/v${version}/CHANGELOG.md";
license = lib.licenses.agpl3Only;
maintainers = [ lib.maintainers.nickhu ];
mainProgram = "rmapi";
};
}

View File

@@ -0,0 +1,60 @@
{
lib,
stdenv,
fetchFromGitHub,
patsh,
hostname,
coreutils,
}:
stdenv.mkDerivation rec {
pname = "rmate";
version = "1.0.2";
src = fetchFromGitHub {
owner = "aurora";
repo = "rmate";
tag = "v${version}";
hash = "sha256-fmK6h9bqZ0zO3HWfZvPdYuZ6i/0HZ1CA3FUnkS+E9ns=";
};
nativeBuildInputs = [ patsh ];
# needed for cross
buildInputs = [ coreutils ];
buildPhase = ''
runHook preBuild
substituteInPlace rmate \
--replace-fail \
'echo "hostname"' \
'echo "${hostname}/bin/hostname"'
patsh -f rmate -s ${builtins.storeDir} --path "$HOST_PATH"
runHook postBuild
'';
installPhase = ''
runHook preInstall
install -Dm755 rmate $out/bin/rmate
runHook postInstall
'';
meta = with lib; {
description = "Remote TextMate 2 implemented as shell script";
longDescription = ''
TextMate 2 has a nice feature where it is possible to edit
files on a remote server using a helper script called 'rmate',
which feeds the file back to the editor over a reverse tunnel.
This is a rmate implementation in shell!
'';
homepage = "https://github.com/aurora/rmate";
platforms = platforms.linux;
license = licenses.gpl3;
maintainers = with maintainers; [ pbsds ];
mainProgram = "rmate";
};
}

View File

@@ -0,0 +1,96 @@
{
cmake,
fetchFromGitHub,
glib,
gtk3,
lib,
libsoup_3,
networkmanager,
pkg-config,
rustPlatform,
versionCheckHook,
webkitgtk_4_1,
wrapGAppsHook3,
xdotool,
nix-update-script,
}:
rustPlatform.buildRustPackage rec {
pname = "rmenu";
version = "1.3.0";
src = fetchFromGitHub {
tag = "v${version}";
owner = "imgurbot12";
repo = "rmenu";
hash = "sha256-cmuB7JfHQuDFo8YaenTDwpe+TxKFaoJM5YwrT7eAfPM=";
};
nativeBuildInputs = [
pkg-config
cmake
wrapGAppsHook3
];
buildInputs = [
glib
gtk3
libsoup_3
networkmanager
webkitgtk_4_1
xdotool
];
strictDeps = true;
cargoHash = "sha256-FIlFy3/Hih40My5fTykYjvaQEmnB3ZC5vX3lfKdW9Gk=";
postInstall = ''
# copy themes and plugins
mkdir -p $out/themes $out/plugins/css
cp -vfr $src/themes/* $out/themes
cp -vfr $src/plugins/misc/* $out/plugins
mv $out/bin/* $out/plugins # everything is a plugin by default
# rmenu and rmenu-build are actual binaries
mv $out/plugins/rmenu $out/bin/rmenu
mv $out/plugins/rmenu-build $out/bin/rmenu-build
# fix plugin names
# desktop network pactl-audio.sh powermenu.sh run window emoji search
for plugin in desktop emoji files network run search window ; do
mv $out/plugins/$plugin $out/plugins/rmenu-$plugin
done
# fix config and theme
mkdir -p $out/share/rmenu
cp -vf $src/rmenu/public/config.yaml $out/share/rmenu/config.yaml
cp -vf $src/plugins/emoji/css/* $out/plugins/css
substituteInPlace $out/share/rmenu/config.yaml --replace-fail "~/.config/rmenu" "$out"
ln -sf $out/themes/dark.css $out/share/rmenu/style.css
'';
preFixup = ''
# rmenu expects the config to be in XDG_CONFIG_DIRS
# shell script plugins called from rmenu binary expect the rmenu-build binary to be on the PATH,
# which needs wrapping in temporary environments like shells and flakes
gappsWrapperArgs+=(
--suffix XDG_CONFIG_DIRS : "$out/share"
--suffix PATH : "$out/bin"
)
'';
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
passthru.updateScript = nix-update-script { };
meta = {
changelog = "https://github.com/imgurbot12/rmenu/releases/tag/v${version}";
description = "Another customizable Application-Launcher written in Rust";
homepage = "https://github.com/imgurbot12/rmenu";
license = lib.licenses.mit;
mainProgram = "rmenu";
maintainers = with lib.maintainers; [ grimmauld ];
platforms = lib.platforms.linux;
};
}

View File

@@ -0,0 +1,71 @@
{
lib,
fetchFromGitHub,
buildGoModule,
enableWebui ? true,
pnpm_9,
nodejs,
nixosTests,
}:
buildGoModule rec {
pname = "rmfakecloud";
version = "0.0.25";
src = fetchFromGitHub {
owner = "ddvk";
repo = "rmfakecloud";
rev = "v${version}";
hash = "sha256-dembIFEoKQEZabsl7oK8rzvV2G7nhmebfw0AGUBanYs=";
};
vendorHash = "sha256-ColOCdKa/sKoLnF/3idBIEyFB2JWYM+1y5TdC/LZT4A=";
# if using webUI build it
# use env because of https://github.com/NixOS/nixpkgs/issues/358844
env.pnpmRoot = "ui";
env.pnpmDeps = pnpm_9.fetchDeps {
inherit pname version src;
sourceRoot = "${src.name}/ui";
pnpmLock = "${src}/ui/pnpm-lock.yaml";
fetcherVersion = 1;
hash = "sha256-uywmHN9HWKi0CaqTg9uEio2XCu6ap9v2xtbodW/6b4Q=";
};
preBuild = lib.optionals enableWebui ''
# using sass-embedded fails at executing node_modules/sass-embedded-linux-x64/dart-sass/src/dart
rm -r ui/node_modules/sass-embedded ui/node_modules/.pnpm/sass-embedded*
# avoid re-running pnpm i...
touch ui/pnpm-lock.yaml
make ui/dist
'';
nativeBuildInputs = lib.optionals enableWebui [
nodejs
pnpm_9.configHook
];
# ... or don't embed it in the server
postPatch = lib.optionals (!enableWebui) ''
sed -i '/go:/d' ui/assets.go
'';
ldflags = [
"-s"
"-w"
"-X main.version=v${version}"
];
passthru.tests.rmfakecloud = nixosTests.rmfakecloud;
meta = with lib; {
description = "Host your own cloud for the Remarkable";
homepage = "https://ddvk.github.io/rmfakecloud/";
license = licenses.agpl3Only;
maintainers = with maintainers; [
euxane
martinetd
];
mainProgram = "rmfakecloud";
};
}

View File

@@ -0,0 +1,52 @@
{
lib,
python3,
fetchFromGitHub,
}:
python3.pkgs.buildPythonApplication {
pname = "rmfuse";
version = "0.2.3";
pyproject = true;
src = fetchFromGitHub {
owner = "rschroll";
repo = "rmfuse";
rev = "3796b8610c8a965a60a417fc0bf8ea5200b71fd2";
hash = "sha256-W3kS6Kkmp8iWMOYFL7r1GyjSQvFotBXQCuTMK0vyHQ8=";
};
nativeBuildInputs = with python3.pkgs; [
poetry-core
];
pythonRelaxDeps = [
"bidict"
"rmrl"
"xdg"
];
propagatedBuildInputs = with python3.pkgs; [
bidict
rmrl
rmcl
pyfuse3
xdg
];
meta = {
description = "FUSE access to the reMarkable Cloud";
homepage = "https://github.com/rschroll/rmfuse";
license = lib.licenses.mit;
longDescription = ''
RMfuse provides access to your reMarkable Cloud files in the form of a
FUSE filesystem. These files are exposed either in their original format,
or as PDF files that contain your annotations. This lets you manage files
in the reMarkable Cloud using the same tools you use on your local
system.
'';
maintainers = [ ];
mainProgram = "rmfuse";
};
}

View File

@@ -0,0 +1,104 @@
{
lib,
stdenv,
fetchFromGitHub,
gitUpdater,
boost,
cmake,
discord-rpc,
freetype,
hidapi,
libpng,
libsamplerate,
minizip,
nasm,
pkg-config,
qt6Packages,
SDL2,
SDL2_net,
speexdsp,
vulkan-headers,
vulkan-loader,
which,
xdg-user-dirs,
zlib,
withWayland ? false,
# Affects final license
withAngrylionRdpPlus ? false,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "rmg";
version = "0.8.0";
src = fetchFromGitHub {
owner = "Rosalie241";
repo = "RMG";
tag = "v${finalAttrs.version}";
hash = "sha256-XMYHzPE5h9gD1fpN8b5YwOpY5zYCsYYQnof2MHDHa3E=";
};
nativeBuildInputs = [
cmake
nasm
pkg-config
qt6Packages.wrapQtAppsHook
which
];
buildInputs = [
boost
discord-rpc
freetype
hidapi
libpng
libsamplerate
minizip
SDL2
SDL2_net
speexdsp
vulkan-headers
vulkan-loader
xdg-user-dirs
zlib
]
++ (
with qt6Packages;
[
qtbase
qtsvg
qtwebsockets
]
++ lib.optional withWayland qtwayland
);
cmakeFlags = [
(lib.cmakeBool "PORTABLE_INSTALL" false)
# mupen64plus-input-gca is written in Rust, so we can't build it with
# everything else.
(lib.cmakeBool "NO_RUST" true)
(lib.cmakeBool "USE_ANGRYLION" withAngrylionRdpPlus)
];
qtWrapperArgs =
lib.optionals stdenv.hostPlatform.isLinux [
"--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ vulkan-loader ]}"
]
++ lib.optional withWayland "--set RMG_ALLOW_WAYLAND 1";
passthru.updateScript = gitUpdater { rev-prefix = "v"; };
meta = {
homepage = "https://github.com/Rosalie241/RMG";
changelog = "https://github.com/Rosalie241/RMG/releases/tag/v${finalAttrs.version}";
description = "Rosalie's Mupen GUI";
longDescription = ''
Rosalie's Mupen GUI is a free and open-source mupen64plus front-end
written in C++. It offers a simple-to-use user interface.
'';
license = if withAngrylionRdpPlus then lib.licenses.unfree else lib.licenses.gpl3Only;
platforms = lib.platforms.linux;
mainProgram = "RMG";
maintainers = with lib.maintainers; [ slam-bert ];
};
})

View File

@@ -0,0 +1,49 @@
{
lib,
stdenv,
nmap,
jq,
cifs-utils,
sshfs,
fetchFromGitHub,
makeWrapper,
}:
stdenv.mkDerivation rec {
pname = "rmount";
version = "1.1.0";
src = fetchFromGitHub {
rev = "v${version}";
owner = "Luis-Hebendanz";
repo = "rmount";
sha256 = "0j1ayncw1nnmgna7vyx44vwinh4ah1b0l5y8agc7i4s8clbvy3h0";
};
nativeBuildInputs = [ makeWrapper ];
installPhase = ''
install -D ${src}/rmount.man $out/share/man/man1/rmount.1
install -D ${src}/rmount.bash $out/bin/rmount
install -D ${src}/config.json $out/share/config.json
wrapProgram $out/bin/rmount --prefix PATH : ${
lib.makeBinPath [
nmap
jq
cifs-utils
sshfs
]
}
'';
meta = with lib; {
homepage = "https://github.com/Luis-Hebendanz/rmount";
description = "Remote mount utility which parses a json file";
license = licenses.mit;
maintainers = [ maintainers.qubasa ];
platforms = platforms.linux;
mainProgram = "rmount";
};
}

View File

@@ -0,0 +1,63 @@
{
lib,
rustPlatform,
fetchFromGitHub,
installShellFiles,
pkg-config,
cmake,
}:
rustPlatform.buildRustPackage rec {
pname = "rmpc";
version = "0.9.0";
src = fetchFromGitHub {
owner = "mierak";
repo = "rmpc";
rev = "v${version}";
hash = "sha256-6hs0neoQf1h5IORJZp8R3ELLvYBXMr1iqc7ErSsGnUQ=";
};
cargoHash = "sha256-xXH/MRQgT/Je/aOCZ26vdC3PtlosXLIrjbOHtnvf9os=";
checkFlags = [
# Test currently broken, needs to be removed. See https://github.com/mierak/rmpc/issues/254
"--skip=core::scheduler::tests::interleaves_repeated_and_scheduled_jobs"
];
nativeBuildInputs = [
installShellFiles
pkg-config
cmake
];
env.VERGEN_GIT_DESCRIBE = version;
postInstall = ''
installManPage target/man/rmpc.1
installShellCompletion --cmd rmpc \
--bash target/completions/rmpc.bash \
--fish target/completions/rmpc.fish \
--zsh target/completions/_rmpc
'';
meta = {
changelog = "https://github.com/mierak/rmpc/releases/tag/${src.rev}";
description = "TUI music player client for MPD with album art support via kitty image protocol";
homepage = "https://mierak.github.io/rmpc/";
license = lib.licenses.bsd3;
longDescription = ''
Rusty Music Player Client is a beautiful, modern and configurable terminal-based Music Player
Daemon client. It was inspired by ncmpcpp and aims to provide an alternative with support for
album art through kitty image protocol without any ugly hacks. It also features ranger/lf
inspired browsing of songs and other goodies.
'';
maintainers = with lib.maintainers; [
donovanglover
faukah
];
mainProgram = "rmpc";
platforms = lib.platforms.linux ++ lib.platforms.darwin;
};
}

View File

@@ -0,0 +1,52 @@
{
lib,
stdenvNoCC,
fetchFromGitHub,
makeWrapper,
trash-cli,
coreutils,
which,
getopt,
}:
stdenvNoCC.mkDerivation rec {
pname = "rmtrash";
version = "1.15";
src = fetchFromGitHub {
owner = "PhrozenByte";
repo = "rmtrash";
rev = "v${version}";
sha256 = "sha256-vCtIM6jAYfrAOopiTcb4M5GNtucVnK0XEEKbMq1Cbc4=";
};
nativeBuildInputs = [ makeWrapper ];
installPhase = ''
for f in rm{,dir}trash; do
install -D ./$f $out/bin/$f
wrapProgram $out/bin/$f \
--prefix PATH : ${
lib.makeBinPath [
trash-cli
coreutils
which
getopt
]
}
done
'';
meta = with lib; {
homepage = "https://github.com/PhrozenByte/rmtrash";
description = "Trash-put made compatible with GNUs rm and rmdir";
longDescription = ''
Put files (and directories) in trash using the `trash-put` command in a
way that is, otherwise as `trash-put` itself, compatible to GNUs `rm`
and `rmdir`.
'';
license = licenses.gpl3Plus;
maintainers = with maintainers; [ peelz ];
platforms = platforms.all;
};
}

View File

@@ -0,0 +1,48 @@
{
lib,
stdenv,
fetchFromGitHub,
meson,
ninja,
pkg-config,
ncurses,
gettext,
}:
stdenv.mkDerivation rec {
pname = "rmw";
version = "0.9.1";
src = fetchFromGitHub {
owner = "theimpossibleastronaut";
repo = "rmw";
tag = "v${version}";
hash = "sha256-rfJdJHSkusZj/PN74KgV5i36YC0YRZmIfRdvkUNoKEM=";
fetchSubmodules = true;
};
nativeBuildInputs = [
pkg-config
meson
ninja
];
buildInputs = [
ncurses
]
++ lib.optional stdenv.hostPlatform.isDarwin gettext;
# The subproject "canfigger" has asan and ubsan enabled by default, disable it here
mesonFlags = [
"-Dcanfigger:b_sanitize=none"
];
meta = with lib; {
description = "Trashcan/ recycle bin utility for the command line";
homepage = "https://github.com/theimpossibleastronaut/rmw";
changelog = "https://github.com/theimpossibleastronaut/rmw/blob/${src.rev}/ChangeLog";
license = licenses.gpl3Only;
maintainers = with maintainers; [ dit7ya ];
mainProgram = "rmw";
};
}