Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 31 lines 739 B view raw
1{ 2 callPackage, 3 fetchFromGitHub, 4 nixosTests, 5}: 6 7callPackage ./generic.nix rec { 8 pname = "shattered-pixel-dungeon"; 9 version = "3.1.1"; 10 11 src = fetchFromGitHub { 12 owner = "00-Evan"; 13 repo = "shattered-pixel-dungeon"; 14 rev = "v${version}"; 15 hash = "sha256-MUpQdH8RMzZtI6e2duSRWHK1gPJDhMRKsm5kIKDcFuk="; 16 }; 17 18 depsPath = ./deps.json; 19 20 passthru.tests = { 21 shattered-pixel-dungeon-starts = nixosTests.shattered-pixel-dungeon; 22 }; 23 24 desktopName = "Shattered Pixel Dungeon"; 25 26 meta = { 27 homepage = "https://shatteredpixel.com/"; 28 downloadPage = "https://github.com/00-Evan/shattered-pixel-dungeon/releases"; 29 description = "Traditional roguelike game with pixel-art graphics and simple interface"; 30 }; 31}