emacsPackages.rec-mode: init at 1.8
This commit is contained in:
parent
222c332c19
commit
4d526f3c3e
3 changed files with 46 additions and 20 deletions
|
@ -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 a new issue