9 stdenv.mkDerivation (finalAttrs: {
14 url = "mirror://gnu/uucp/uucp-${finalAttrs.version}.tar.gz";
15 sha256 = "0b5nhl9vvif1w3wdipjsk8ckw49jj1w85xw1mmqi3zbcpazia306";
18 hardeningDisable = [ "format" ];
21 # do not set sticky bit in nix store
22 substituteInPlace Makefile.am \
23 --replace-fail 4555 0555
24 sed -i '/chown $(OWNER)/d' Makefile.am
26 # don't reply on implicitly defined `exit` function in `HAVE_VOID` test:
27 substituteInPlace configure.in \
28 --replace-fail '(void) exit (0)' '(void) (0)'
31 # Regenerate `configure`; the checked in version was generated in 2002 and
32 # contains snippets like `main(){return(0);}` that modern compilers dislike.
33 nativeBuildInputs = [ autoreconfHook ];
35 makeFlags = [ "AR:=$(AR)" ];
37 passthru.tests.version = testers.testVersion {
38 package = finalAttrs.finalPackage;
42 description = "Unix-unix cp over serial line, also includes cu program";
46 Taylor UUCP is a free implementation of UUCP and is the standard
47 UUCP used on the GNU system. If you don't know what UUCP is chances
48 are, nowadays, that you won't need it. If you do need it, you've
49 just found one of the finest UUCP implementations available.
52 homepage = "https://www.gnu.org/software/uucp/uucp.html";
54 license = lib.licenses.gpl2Plus;
56 platforms = lib.platforms.all;