nixpkgs/pkgs/tools/text/dadadodo/default.nix

24 lines
545 B
Nix
Raw Normal View History

2014-10-06 11:36:31 +02:00
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "dadadodo-${version}";
version = "1.04";
src = fetchurl {
2014-10-06 11:36:31 +02:00
url = "http://www.jwz.org/dadadodo/${name}.tar.gz";
sha256 = "1pzwp3mim58afjrc92yx65mmgr1c834s1v6z4f4gyihwjn8bn3if";
};
2014-10-06 11:36:31 +02:00
installPhase = ''
mkdir -p $out/bin
cp dadadodo $out/bin
2014-10-06 11:36:31 +02:00
'';
meta = with stdenv.lib; {
description = "Markov chain-based text generator";
2014-10-06 11:36:31 +02:00
homepage = http://www.jwz.org/dadadodo;
maintainers = with maintainers; [ pSub ];
platforms = with platforms; linux;
};
}