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
49 lines
1.0 KiB
Nix
49 lines
1.0 KiB
Nix
{
|
|
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";
|
|
};
|
|
}
|