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