at 18.03-beta 38 lines 1.1 kB view raw
1{ fetchurl, stdenv, gettext, emacs, curl, check, bc }: 2 3stdenv.mkDerivation rec { 4 name = "recutils-1.7"; 5 6 src = fetchurl { 7 url = "mirror://gnu/recutils/${name}.tar.gz"; 8 sha256 = "0cdwa4094x3yx7vn98xykvnlp9rngvd58d19vs3vh5hrvggccg93"; 9 }; 10 11 doCheck = true; 12 13 hardeningDisable = [ "format" ]; 14 15 buildInputs = [ curl emacs ] ++ (stdenv.lib.optionals doCheck [ check bc ]); 16 17 postInstall = '' 18 ${emacs}/bin/emacs -Q -batch -f batch-byte-compile $out/share/emacs/site-lisp/*.el #*/ 19 ''; 20 21 meta = { 22 description = "Tools and libraries to access human-editable, text-based databases"; 23 24 longDescription = 25 '' GNU Recutils is a set of tools and libraries to access 26 human-editable, text-based databases called recfiles. The data is 27 stored as a sequence of records, each record containing an arbitrary 28 number of named fields. 29 ''; 30 31 homepage = http://www.gnu.org/software/recutils/; 32 33 license = stdenv.lib.licenses.gpl3Plus; 34 35 platforms = stdenv.lib.platforms.all; 36 maintainers = [ ]; 37 }; 38}