nixpkgs/pkgs/tools/text/dadadodo/default.nix
Silvan Mosberger 57bccb3cb8 treewide: http -> https sources (#42676)
* treewide: http -> https sources

This updates the source urls of all top-level packages from http to
https where possible.

* buildtorrent: fix url and tab -> spaces
2018-06-28 20:43:35 +02:00

26 lines
582 B
Nix

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