31 lines
734 B
Nix
31 lines
734 B
Nix
{ callPackage
|
|
, fetchFromGitHub
|
|
, nixosTests
|
|
}:
|
|
|
|
callPackage ./generic.nix rec {
|
|
pname = "shattered-pixel-dungeon";
|
|
version = "2.5.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "00-Evan";
|
|
repo = "shattered-pixel-dungeon";
|
|
rev = "v${version}";
|
|
hash = "sha256-I8DO0HwMfuIwgraX8Q8Ns4ynQMV0aFsAoXCG7EbltPs=";
|
|
};
|
|
|
|
depsPath = ./deps.json;
|
|
|
|
passthru.tests = {
|
|
shattered-pixel-dungeon-starts = nixosTests.shattered-pixel-dungeon;
|
|
};
|
|
|
|
desktopName = "Shattered Pixel Dungeon";
|
|
|
|
meta = {
|
|
homepage = "https://shatteredpixel.com/";
|
|
downloadPage = "https://github.com/00-Evan/shattered-pixel-dungeon/releases";
|
|
description = "Traditional roguelike game with pixel-art graphics and simple interface";
|
|
};
|
|
}
|