1 { lib, stdenv, fetchurl, perl }:
3 stdenv.mkDerivation rec {
8 url = "https://suso.suso.org/programs/num-utils/downloads/num-utils-${version}.tar.gz";
9 sha256 = "0kn6yskjww2agcqvas5l2xp55mp4njdxqkdicchlji3qzih2fn83";
12 buildInputs = [ perl ];
15 substituteInPlace Makefile --replace "-o 0 -g 0" "" --replace "\$(RPMDIR)" ""
18 "TOPDIR=${placeholder "out"}"
19 "PERL=${perl}/bin/perl"
23 description = "Programs for dealing with numbers from the command line";
24 homepage = "https://suso.suso.org/xulu/Num-utils";
25 license = licenses.gpl2Plus;
26 platforms = platforms.all;
27 maintainers = [ maintainers.catern ];