From 05d0116368067c29b1866606618839591a182d02 Mon Sep 17 00:00:00 2001 From: AndersonTorres Date: Sun, 10 Apr 2022 21:50:16 -0300 Subject: [PATCH] acr: init at 2.0.0 --- pkgs/development/tools/misc/acr/default.nix | 33 +++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 35 insertions(+) create mode 100644 pkgs/development/tools/misc/acr/default.nix diff --git a/pkgs/development/tools/misc/acr/default.nix b/pkgs/development/tools/misc/acr/default.nix new file mode 100644 index 000000000000..47a980caddfb --- /dev/null +++ b/pkgs/development/tools/misc/acr/default.nix @@ -0,0 +1,33 @@ +{ lib +, stdenv +, fetchFromGitHub +}: + +stdenv.mkDerivation rec { + pname = "acr"; + version = "2.0.0"; + + src = fetchFromGitHub { + owner = "radareorg"; + repo = "acr"; + rev = version; + hash = "sha256-ma4KhwGFlLCfRQvQ11OdyovgGbKQUBo6qVRrE7V2pNo="; + }; + + preConfigure = '' + chmod +x ./autogen.sh && ./autogen.sh + ''; + + meta = with lib; { + homepage = "https://github.com/radareorg/acr/"; + description = "Pure shell autoconf replacement"; + longDescription = '' + ACR tries to replace autoconf functionality generating a full-compatible + 'configure' script (runtime flags). But using shell-script instead of + m4. This means that ACR is faster, smaller and easy to use. + ''; + license = licenses.gpl2Plus; + maintainers = with maintainers; [ AndersonTorres ]; + platforms = with platforms; all; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 7f596c047184..a72406d6f1a1 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -14441,6 +14441,8 @@ with pkgs; autoconf269 = callPackage ../development/tools/misc/autoconf/2.69.nix { }; autoconf271 = callPackage ../development/tools/misc/autoconf { }; + acr = callPackage ../development/tools/misc/acr { }; + autocutsel = callPackage ../tools/X11/autocutsel{ }; automake = automake116x;