mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-14 05:37:40 +03:00
Merge pull request #141536 from AndersonTorres/new-recutils
emacsPackages.rec-mode: init at 1.8
This commit is contained in:
commit
e57c97d792
@ -198,6 +198,8 @@
|
||||
|
||||
railgun = callPackage ./railgun { };
|
||||
|
||||
rec-mode = callPackage ./rec-mode { };
|
||||
|
||||
structured-haskell-mode = self.shm;
|
||||
|
||||
sv-kalender = callPackage ./sv-kalender { };
|
||||
|
@ -0,0 +1,18 @@
|
||||
{ lib
|
||||
, trivialBuild
|
||||
, recutils
|
||||
}:
|
||||
|
||||
trivialBuild {
|
||||
pname = "rec-mode";
|
||||
|
||||
inherit (recutils) version src;
|
||||
|
||||
postUnpack = ''
|
||||
sourceRoot="$sourceRoot/etc"
|
||||
'';
|
||||
|
||||
meta = recutils.meta // {
|
||||
description = "A major mode for editing rec files";
|
||||
};
|
||||
}
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user