3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/version-management/rcs/default.nix

40 lines
1.2 KiB
Nix
Raw Normal View History

2021-06-17 00:00:33 +01:00
{ lib, stdenv, fetchurl, fetchpatch, buildPackages, diffutils, ed }:
stdenv.mkDerivation rec {
2021-06-17 00:00:33 +01:00
pname = "rcs";
version = "5.10.0";
src = fetchurl {
2021-06-17 00:00:33 +01:00
url = "mirror://gnu/rcs/${pname}-${version}.tar.xz";
sha256 = "sha256-Og2flYx60wPkdehjRlSXTtvm3rOkVEkfOFfcGIm6xcU";
};
2021-06-17 00:00:33 +01: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-17 00:00:33 +01:00
disallowedReferences =
lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform)
[ buildPackages.diffutils buildPackages.ed ];
2019-04-16 11:42:20 +01:00
2019-10-30 01:29:30 +00:00
NIX_CFLAGS_COMPILE = "-std=c99";
2015-08-20 13:09:55 +01:00
2021-01-15 13:21:58 +00:00
hardeningDisable = lib.optional stdenv.cc.isClang "format";
2019-04-16 11:42:20 +01:00
meta = {
homepage = "https://www.gnu.org/software/rcs/";
description = "Revision control system";
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;
};
}