7 stdenvNoCC.mkDerivation {
9 version = "0-unstable-2018-05-28";
11 src = fetchFromGitHub {
13 repo = "bullshit-arch";
14 rev = "d65e4bbbea76bb752842c2c464154a7b417783fa";
15 hash = "sha256-sqtQDaWtfhn9XYRsF8lVLHYb+7o9Hf7rLKsX6dw3Sh4=";
20 install -Dm555 src/bullshit -t $out/bin
21 install -Dm444 src/bullshit_lib $out/share/wordlists/bullshit.txt
27 patchShebangs $out/bin/bullshit
28 substituteInPlace $out/bin/bullshit \
29 --replace /usr/lib/bullshit $out/share/wordlists/bullshit.txt \
30 --replace awk '${gawk}/bin/awk'
34 passthru.updateScript = nix-update-script { };
37 description = "Nonsense phrase generator";
38 mainProgram = "bullshit";
39 homepage = "https://github.com/fceschmidt/bullshit-arch";
40 license = licenses.gpl2Only;
41 maintainers = with maintainers; [ krloer ];
42 inherit (gawk.meta) platforms;