summary refs log tree commit diff
path: root/pkgs/tools/misc/recutils
diff options
context:
space:
mode:
authorAndersonTorres <torres.anderson.85@protonmail.com>2021-10-13 12:35:05 -0300
committerAndersonTorres <torres.anderson.85@protonmail.com>2021-10-13 13:26:02 -0300
commit4d526f3c3e0adfa3cd85a5f183ddcb62af851738 (patch)
tree94cbd311426fcc2adb6baefd34f20c2da8555196 /pkgs/tools/misc/recutils
parent222c332c19761c91aabe119681584c7982c27e04 (diff)
downloadnixpkgs-4d526f3c3e0adfa3cd85a5f183ddcb62af851738.tar
nixpkgs-4d526f3c3e0adfa3cd85a5f183ddcb62af851738.tar.gz
nixpkgs-4d526f3c3e0adfa3cd85a5f183ddcb62af851738.tar.bz2
nixpkgs-4d526f3c3e0adfa3cd85a5f183ddcb62af851738.tar.lz
nixpkgs-4d526f3c3e0adfa3cd85a5f183ddcb62af851738.tar.xz
nixpkgs-4d526f3c3e0adfa3cd85a5f183ddcb62af851738.tar.zst
nixpkgs-4d526f3c3e0adfa3cd85a5f183ddcb62af851738.zip
emacsPackages.rec-mode: init at 1.8
Diffstat (limited to 'pkgs/tools/misc/recutils')
-rw-r--r--pkgs/tools/misc/recutils/default.nix46
1 files changed, 26 insertions, 20 deletions
diff --git a/pkgs/tools/misc/recutils/default.nix b/pkgs/tools/misc/recutils/default.nix
index d6a5b517a84..1501f8edda1 100644
--- a/pkgs/tools/misc/recutils/default.nix
+++ b/pkgs/tools/misc/recutils/default.nix
@@ -1,36 +1,42 @@
-{ fetchurl, lib, stdenv, emacs, curl, check, bc }:
+{ lib
+, stdenv
+, fetchurl
+, bc
+, check
+, curl
+}:
 
 stdenv.mkDerivation rec {
   pname = "recutils";
   version = "1.8";
 
   src = fetchurl {
-    url = "mirror://gnu/recutils/recutils-${version}.tar.gz";
-    sha256 = "14xiln4immfsw8isnvwvq0h23f6z0wilpgsc4qzabnrzb5lsx3nz";
+    url = "mirror://gnu/recutils/${pname}-${version}.tar.gz";
+    hash = "sha256-346uaVk/26U+Jky/SyMH37ghIMCbb6sj4trVGomlsZM=";
   };
 
   hardeningDisable = [ "format" ];
 
-  buildInputs = [ curl emacs ];
+  buildInputs = [
+    curl
+  ];
 
-  checkInputs = [ check bc ];
+  checkInputs = [
+    check
+    bc
+  ];
   doCheck = true;
 
-  meta = {
-    description = "Tools and libraries to access human-editable, text-based databases";
-
-    longDescription =
-      '' GNU Recutils is a set of tools and libraries to access
-         human-editable, text-based databases called recfiles.  The data is
-         stored as a sequence of records, each record containing an arbitrary
-         number of named fields.
-      '';
-
+  meta = with lib; {
     homepage = "https://www.gnu.org/software/recutils/";
-
-    license = lib.licenses.gpl3Plus;
-
-    platforms = lib.platforms.all;
-    maintainers = [ ];
+    description = "Tools and libraries to access human-editable, text-based databases";
+    longDescription = ''
+      GNU Recutils is a set of tools and libraries to access human-editable,
+      text-based databases called recfiles. The data is stored as a sequence of
+      records, each record containing an arbitrary number of named fields.
+    '';
+    license = licenses.gpl3Plus;
+    maintainers = with maintainers; [ AndersonTorres ];
+    platforms = platforms.all;
   };
 }