nixpkgs/pkgs/tools/misc/rmw/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

40 lines
785 B
Nix
Raw Normal View History

2023-03-08 07:47:41 +00:00
{ lib
, stdenv
, fetchFromGitHub
, meson
, ninja
, pkg-config
, ncurses
}:
stdenv.mkDerivation rec {
pname = "rmw";
version = "0.9.0";
src = fetchFromGitHub {
owner = "theimpossibleastronaut";
repo = "rmw";
rev = "v${version}";
hash = "sha256-KOYj63j/vCG7I63bgep03HzufOj/p/EHaY8lyRMHCkY=";
fetchSubmodules = true;
};
nativeBuildInputs = [
pkg-config
meson
ninja
];
buildInputs = [
ncurses
];
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 ];
};
}