2021-06-16 23:00:33 +00:00
|
|
|
{ lib, stdenv, fetchurl, fetchpatch, buildPackages, diffutils, ed }:
|
2004-11-28 17:28:55 +00:00
|
|
|
|
2011-10-12 20:43:44 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2021-06-16 23:00:33 +00:00
|
|
|
pname = "rcs";
|
|
|
|
version = "5.10.0";
|
2010-02-16 14:19:07 +00:00
|
|
|
|
2004-11-28 17:28:55 +00:00
|
|
|
src = fetchurl {
|
2021-06-16 23:00:33 +00:00
|
|
|
url = "mirror://gnu/rcs/${pname}-${version}.tar.xz";
|
|
|
|
sha256 = "sha256-Og2flYx60wPkdehjRlSXTtvm3rOkVEkfOFfcGIm6xcU";
|
2004-11-28 17:28:55 +00:00
|
|
|
};
|
2010-02-12 14:27:26 +00:00
|
|
|
|
2021-06-16 23:00:33 +00:00
|
|
|
ac_cv_path_ED = "${ed}/bin/ed";
|
|
|
|
DIFF = "${diffutils}/bin/diff";
|
|
|
|
DIFF3 = "${diffutils}/bin/diff3";
|
2014-01-27 14:48:30 +00:00
|
|
|
|
2021-06-16 23:00:33 +00:00
|
|
|
disallowedReferences =
|
|
|
|
lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform)
|
|
|
|
[ buildPackages.diffutils buildPackages.ed ];
|
2019-04-16 10:42:20 +00:00
|
|
|
|
2019-10-30 01:29:30 +00:00
|
|
|
NIX_CFLAGS_COMPILE = "-std=c99";
|
2015-08-20 12:09:55 +00:00
|
|
|
|
2021-01-15 13:21:58 +00:00
|
|
|
hardeningDisable = lib.optional stdenv.cc.isClang "format";
|
2019-04-16 10:42:20 +00:00
|
|
|
|
2010-02-12 14:27:26 +00:00
|
|
|
meta = {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://www.gnu.org/software/rcs/";
|
2014-08-24 14:21:08 +00:00
|
|
|
description = "Revision control system";
|
2011-10-12 20:43:44 +00:00
|
|
|
longDescription =
|
|
|
|
'' The GNU Revision Control System (RCS) manages multiple revisions of
|
|
|
|
files. RCS automates the storing, retrieval, logging,
|
|
|
|
identification, and merging of revisions. RCS is useful for text
|
|
|
|
that is revised frequently, including source code, programs,
|
|
|
|
documentation, graphics, papers, and form letters.
|
|
|
|
'';
|
|
|
|
|
2021-01-15 13:21:58 +00:00
|
|
|
license = lib.licenses.gpl3Plus;
|
|
|
|
maintainers = with lib.maintainers; [ eelco ];
|
|
|
|
platforms = lib.platforms.unix;
|
2010-02-12 14:27:26 +00:00
|
|
|
};
|
2004-11-28 17:28:55 +00:00
|
|
|
}
|