2014-10-06 11:36:31 +02:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "dadadodo";
|
2014-10-06 11:36:31 +02:00
|
|
|
version = "1.04";
|
2009-07-07 12:03:26 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 14:41:18 +02:00
|
|
|
url = "https://www.jwz.org/dadadodo/${pname}-${version}.tar.gz";
|
2009-07-07 12:03:26 +02:00
|
|
|
sha256 = "1pzwp3mim58afjrc92yx65mmgr1c834s1v6z4f4gyihwjn8bn3if";
|
|
|
|
};
|
|
|
|
|
2014-10-06 11:36:31 +02:00
|
|
|
installPhase = ''
|
2012-01-18 21:16:00 +01:00
|
|
|
mkdir -p $out/bin
|
2009-07-07 12:03:26 +02:00
|
|
|
cp dadadodo $out/bin
|
2014-10-06 11:36:31 +02:00
|
|
|
'';
|
|
|
|
|
2018-05-29 16:19:39 +02:00
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
|
2014-10-06 11:36:31 +02:00
|
|
|
meta = with stdenv.lib; {
|
2009-07-07 12:03:26 +02:00
|
|
|
description = "Markov chain-based text generator";
|
2014-10-06 11:36:31 +02:00
|
|
|
homepage = http://www.jwz.org/dadadodo;
|
|
|
|
maintainers = with maintainers; [ pSub ];
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = with platforms; linux;
|
2009-07-07 12:03:26 +02:00
|
|
|
};
|
|
|
|
}
|