mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
00a8e14342
In preparation for the next commits, which will add some forks/mods that are built the same way.
31 lines
776 B
Nix
31 lines
776 B
Nix
{ callPackage
|
|
, fetchFromGitHub
|
|
, nixosTests
|
|
}:
|
|
|
|
callPackage ./generic.nix rec {
|
|
pname = "shattered-pixel-dungeon";
|
|
version = "2.1.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "00-Evan";
|
|
repo = "shattered-pixel-dungeon";
|
|
rev = "v${version}";
|
|
hash = "sha256-WbRvsHxTYYlhJavYVGMGK25fXEfSfnIztJ6KuCgBjF8=";
|
|
};
|
|
|
|
depsHash = "sha256-i4k5tdo07E1NJwywroaGvRjZ+/xrDp6ra+GTYwTB7uk=";
|
|
|
|
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";
|
|
};
|
|
}
|