mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 03:15:56 +03:00
23 lines
506 B
Nix
23 lines
506 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "dadadodo-${version}";
|
|
version = "1.04";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.jwz.org/dadadodo/${name}.tar.gz";
|
|
sha256 = "1pzwp3mim58afjrc92yx65mmgr1c834s1v6z4f4gyihwjn8bn3if";
|
|
};
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/bin
|
|
cp dadadodo $out/bin
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Markov chain-based text generator";
|
|
homepage = http://www.jwz.org/dadadodo;
|
|
maintainers = with maintainers; [ pSub ];
|
|
};
|
|
}
|