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-01-24 00:34:02 +01:00
|
|
|
version = "2.3.0";
|
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-01-24 00:34:02 +01:00
|
|
|
hash = "sha256-PUAHsFW8rb4SZlZKCIx6SO3U7I7uJgfUal2VXzUjQNs=";
|
2019-09-11 10:09:51 +02:00
|
|
|
};
|
|
|
|
|
2023-11-07 12:06:26 +01:00
|
|
|
depsHash = "sha256-QfAV6LYD6S/8ptaqqKSDtOe4kStwp6LJp8WVc3sH8yc=";
|
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";
|
|
|
|
};
|
|
|
|
}
|