2014-10-06 13:36:31 +04:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "dadadodo-${version}";
|
|
|
|
version = "1.04";
|
2009-07-07 14:03:26 +04:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-10-06 13:36:31 +04:00
|
|
|
url = "http://www.jwz.org/dadadodo/${name}.tar.gz";
|
2009-07-07 14:03:26 +04:00
|
|
|
sha256 = "1pzwp3mim58afjrc92yx65mmgr1c834s1v6z4f4gyihwjn8bn3if";
|
|
|
|
};
|
|
|
|
|
2014-10-06 13:36:31 +04:00
|
|
|
installPhase = ''
|
2012-01-19 00:16:00 +04:00
|
|
|
mkdir -p $out/bin
|
2009-07-07 14:03:26 +04:00
|
|
|
cp dadadodo $out/bin
|
2014-10-06 13:36:31 +04:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2009-07-07 14:03:26 +04:00
|
|
|
description = "Markov chain-based text generator";
|
2014-10-06 13:36:31 +04:00
|
|
|
homepage = http://www.jwz.org/dadadodo;
|
|
|
|
maintainers = with maintainers; [ pSub ];
|
2009-07-07 14:03:26 +04:00
|
|
|
};
|
|
|
|
}
|