1 { lib, stdenv, fetchzip, zlib }:
3 stdenv.mkDerivation rec {
8 url = "mirror://sourceforge/randtype/${pname}-${version}.tar.gz";
9 sha256 = "055xs02qwpgbkn2l57bwghbsrsysg1zhm2asp0byvjpz4sc4w1rd";
12 buildInputs = [ zlib ];
17 mkdir -p $out/share/man/man1 $out/bin
18 install -cp randtype.1.gz $out/share/man/man1
19 install -cps randtype $out/bin
25 description = "semi-random text typer";
26 mainProgram = "randtype";
27 homepage = "https://benkibbey.wordpress.com/randtype/";
28 maintainers = with maintainers; [ dandellion ];
29 license = licenses.gpl2Only;
30 platforms = platforms.unix;
31 broken = stdenv.isDarwin; # never built on Hydra https://hydra.nixos.org/job/nixpkgs/trunk/randtype.x86_64-darwin