mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 19:26:02 +00:00
d29cee773c
dwarf-therapist: 37.0.0-Hello71 -> 39.0.0 dfhack: 0.43.05-r1 -> 0.44.02-alpha1 cla-theme: 43.05-v23 -> 44.01-v24 phoebus-theme: 43.05c -> 44.02a There is a new maintained repository for dwarf-therapist: http://www.bay12forums.com/smf/index.php?topic=168411 dfhack is still in alpha, so make backups, if you use it. cc @the-kenny @abbradar
36 lines
988 B
Nix
36 lines
988 B
Nix
{ stdenv, fetchzip, dos2unix
|
|
, soundPack ? stdenv.mkDerivation {
|
|
name = "soundsense-soundpack";
|
|
src = fetchzip {
|
|
url = "http://df.zweistein.cz/soundsense/soundpack.zip";
|
|
sha256 = "0qz0mjkp7wp0gxk3ws2x760awv8c9lkacj2fn9bz3gqqnq262ffa";
|
|
};
|
|
installPhase = ''
|
|
cp -r . $out
|
|
'';
|
|
}}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "2016-1_196";
|
|
dfVersion = "0.44.02";
|
|
inherit soundPack;
|
|
name = "soundsense-${version}";
|
|
src = fetchzip {
|
|
url = "http://df.zweistein.cz/soundsense/soundSense_${version}.zip";
|
|
sha256 = "1gkrs69l3xsh858yjp204ddp29m668j630akm7arssc9359wxqkk";
|
|
};
|
|
phases = [ "unpackPhase" "buildPhase" "installPhase" ];
|
|
nativeBuildInputs = [ dos2unix ];
|
|
buildPhase = ''
|
|
dos2unix soundSense.sh
|
|
chmod +x soundSense.sh
|
|
'';
|
|
installPhase = ''
|
|
mkdir $out
|
|
cp -R . $out/soundsense
|
|
ln -s $out/soundsense/dfhack $out/hack
|
|
ln -s $soundPack $out/soundsense/packs
|
|
'';
|
|
passthru = { inherit version dfVersion; };
|
|
}
|