emacsPackages.rec-mode: init at 1.8
This commit is contained in:
parent
222c332c19
commit
4d526f3c3e
|
@ -198,6 +198,8 @@
|
||||||
|
|
||||||
railgun = callPackage ./railgun { };
|
railgun = callPackage ./railgun { };
|
||||||
|
|
||||||
|
rec-mode = callPackage ./rec-mode { };
|
||||||
|
|
||||||
structured-haskell-mode = self.shm;
|
structured-haskell-mode = self.shm;
|
||||||
|
|
||||||
sv-kalender = callPackage ./sv-kalender { };
|
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 {
|
stdenv.mkDerivation rec {
|
||||||
pname = "recutils";
|
pname = "recutils";
|
||||||
version = "1.8";
|
version = "1.8";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnu/recutils/recutils-${version}.tar.gz";
|
url = "mirror://gnu/recutils/${pname}-${version}.tar.gz";
|
||||||
sha256 = "14xiln4immfsw8isnvwvq0h23f6z0wilpgsc4qzabnrzb5lsx3nz";
|
hash = "sha256-346uaVk/26U+Jky/SyMH37ghIMCbb6sj4trVGomlsZM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
hardeningDisable = [ "format" ];
|
hardeningDisable = [ "format" ];
|
||||||
|
|
||||||
buildInputs = [ curl emacs ];
|
buildInputs = [
|
||||||
|
curl
|
||||||
|
];
|
||||||
|
|
||||||
checkInputs = [ check bc ];
|
checkInputs = [
|
||||||
|
check
|
||||||
|
bc
|
||||||
|
];
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
meta = {
|
meta = with lib; {
|
||||||
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.
|
|
||||||
'';
|
|
||||||
|
|
||||||
homepage = "https://www.gnu.org/software/recutils/";
|
homepage = "https://www.gnu.org/software/recutils/";
|
||||||
|
description = "Tools and libraries to access human-editable, text-based databases";
|
||||||
license = lib.licenses.gpl3Plus;
|
longDescription = ''
|
||||||
|
GNU Recutils is a set of tools and libraries to access human-editable,
|
||||||
platforms = lib.platforms.all;
|
text-based databases called recfiles. The data is stored as a sequence of
|
||||||
maintainers = [ ];
|
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