mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 19:33:03 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
29 lines
659 B
Nix
29 lines
659 B
Nix
{ lib, stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "dadadodo";
|
|
version = "1.04";
|
|
|
|
src = fetchurl {
|
|
url = "https://www.jwz.org/dadadodo/${pname}-${version}.tar.gz";
|
|
sha256 = "1pzwp3mim58afjrc92yx65mmgr1c834s1v6z4f4gyihwjn8bn3if";
|
|
};
|
|
|
|
makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/bin
|
|
cp dadadodo $out/bin
|
|
'';
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
meta = with lib; {
|
|
description = "Markov chain-based text generator";
|
|
mainProgram = "dadadodo";
|
|
homepage = "http://www.jwz.org/dadadodo";
|
|
maintainers = with maintainers; [ pSub ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|