nixpkgs/pkgs/games/dwarf-fortress/dwarf-therapist/default.nix
Silvan Mosberger f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00

36 lines
1.1 KiB
Nix

{ stdenv, fetchFromGitHub, coreutils, qtbase, qtdeclarative, qmake, texlive }:
stdenv.mkDerivation rec {
name = "dwarf-therapist-original-${version}";
version = "37.0.0";
src = fetchFromGitHub {
owner = "splintermind";
repo = "Dwarf-Therapist";
rev = "v${version}";
sha256 = "0dw86b4x5hjhb7h4ynvwjgcinpqywfc5l48ljb5sahz08rfnx63d";
};
outputs = [ "out" "layouts" ];
buildInputs = [ qtbase qtdeclarative ];
nativeBuildInputs = [ texlive qmake ];
enableParallelBuilding = false;
# Move layout files so they cannot be found by Therapist
postInstall = ''
mkdir -p $layouts
mv $out/share/dwarftherapist/memory_layouts/* $layouts
rmdir $out/share/dwarftherapist/memory_layouts
# Useless symlink
rm $out/bin/dwarftherapist
'';
meta = with stdenv.lib; {
description = "Tool to manage dwarves in in a running game of Dwarf Fortress";
maintainers = with maintainers; [ the-kenny abbradar ];
license = licenses.mit;
platforms = platforms.linux;
homepage = https://github.com/splintermind/Dwarf-Therapist;
};
}