2023-09-12 12:48:09 +00:00
|
|
|
{ callPackage
|
2019-09-11 08:09:51 +00:00
|
|
|
, fetchFromGitHub
|
2020-08-09 13:20:17 +00:00
|
|
|
, nixosTests
|
2019-09-11 08:09:51 +00:00
|
|
|
}:
|
|
|
|
|
2023-09-12 12:48:09 +00:00
|
|
|
callPackage ./generic.nix rec {
|
2019-09-11 08:09:51 +00:00
|
|
|
pname = "shattered-pixel-dungeon";
|
2024-11-12 10:36:10 +00:00
|
|
|
version = "2.5.4";
|
2019-09-11 08:09:51 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "00-Evan";
|
2020-05-16 13:22:38 +00:00
|
|
|
repo = "shattered-pixel-dungeon";
|
2023-05-28 12:42:56 +00:00
|
|
|
rev = "v${version}";
|
2024-11-12 10:36:10 +00:00
|
|
|
hash = "sha256-I8DO0HwMfuIwgraX8Q8Ns4ynQMV0aFsAoXCG7EbltPs=";
|
2019-09-11 08:09:51 +00:00
|
|
|
};
|
|
|
|
|
2023-12-14 11:55:39 +00:00
|
|
|
depsPath = ./deps.json;
|
2019-09-11 08:09:51 +00:00
|
|
|
|
2020-08-09 13:20:17 +00:00
|
|
|
passthru.tests = {
|
|
|
|
shattered-pixel-dungeon-starts = nixosTests.shattered-pixel-dungeon;
|
|
|
|
};
|
|
|
|
|
2023-09-12 12:48:09 +00:00
|
|
|
desktopName = "Shattered Pixel Dungeon";
|
|
|
|
|
|
|
|
meta = {
|
2019-09-11 08:09:51 +00:00
|
|
|
homepage = "https://shatteredpixel.com/";
|
2020-05-16 13:22:38 +00:00
|
|
|
downloadPage = "https://github.com/00-Evan/shattered-pixel-dungeon/releases";
|
2019-09-11 08:09:51 +00:00
|
|
|
description = "Traditional roguelike game with pixel-art graphics and simple interface";
|
|
|
|
};
|
|
|
|
}
|