3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/text/dadadodo/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
629 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl }:
2014-10-06 10:36:31 +01:00
stdenv.mkDerivation rec {
pname = "dadadodo";
2014-10-06 10:36:31 +01:00
version = "1.04";
src = fetchurl {
url = "https://www.jwz.org/dadadodo/${pname}-${version}.tar.gz";
sha256 = "1pzwp3mim58afjrc92yx65mmgr1c834s1v6z4f4gyihwjn8bn3if";
};
2021-03-04 07:14:02 +00:00
makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
2014-10-06 10:36:31 +01:00
installPhase = ''
mkdir -p $out/bin
cp dadadodo $out/bin
2014-10-06 10:36:31 +01:00
'';
2018-05-29 15:19:39 +01:00
hardeningDisable = [ "format" ];
meta = with lib; {
description = "Markov chain-based text generator";
homepage = "http://www.jwz.org/dadadodo";
2014-10-06 10:36:31 +01:00
maintainers = with maintainers; [ pSub ];
2021-03-04 07:14:02 +00:00
platforms = platforms.all;
};
}