nixpkgs/pkgs/applications/version-management/rcs/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

42 lines
1.2 KiB
Nix
Raw Normal View History

2022-04-20 06:52:13 +00:00
{ lib, stdenv, fetchurl, buildPackages, diffutils, ed, lzip }:
stdenv.mkDerivation rec {
2021-06-16 23:00:33 +00:00
pname = "rcs";
version = "5.10.1";
src = fetchurl {
url = "mirror://gnu/rcs/${pname}-${version}.tar.lz";
sha256 = "sha256-Q93+EHJKi4XiRo9kA7YABzcYbwHmDgvWL95p2EIjTMU=";
};
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
nativeBuildInputs = [ lzip ];
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;
};
}