From d6e7f3fc7b72a1e9a7616fcd378f4dcfb35cfb9e Mon Sep 17 00:00:00 2001 From: Mostly Void <7rat13@gmail.com> Date: Wed, 8 Mar 2023 13:17:41 +0530 Subject: [PATCH] rmw: init at 0.9.0 --- pkgs/tools/misc/rmw/default.nix | 39 +++++++++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 41 insertions(+) create mode 100644 pkgs/tools/misc/rmw/default.nix diff --git a/pkgs/tools/misc/rmw/default.nix b/pkgs/tools/misc/rmw/default.nix new file mode 100644 index 000000000000..1d97319af983 --- /dev/null +++ b/pkgs/tools/misc/rmw/default.nix @@ -0,0 +1,39 @@ +{ 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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d7ef5990946f..315c1a84de9c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -11665,6 +11665,8 @@ with pkgs; inherit (python3Packages) sphinx; }; + rmw = callPackage ../tools/misc/rmw { }; + rng-tools = callPackage ../tools/security/rng-tools { }; rnnoise = callPackage ../development/libraries/rnnoise { };