Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
64 lines
1.2 KiB
Nix
64 lines
1.2 KiB
Nix
{
|
|
haskellPackages,
|
|
haskell,
|
|
}:
|
|
|
|
haskell.lib.compose.justStaticExecutables (
|
|
haskellPackages.callPackage (
|
|
{
|
|
mkDerivation,
|
|
fetchFromGitHub,
|
|
lib,
|
|
|
|
base,
|
|
vty,
|
|
lens,
|
|
brick,
|
|
linear,
|
|
containers,
|
|
random,
|
|
transformers,
|
|
directory,
|
|
filepath,
|
|
optparse-applicative,
|
|
vty-crossplatform,
|
|
mtl,
|
|
extra,
|
|
}:
|
|
mkDerivation rec {
|
|
pname = "tetris";
|
|
version = "0.1.6";
|
|
src = fetchFromGitHub {
|
|
repo = "tetris";
|
|
owner = "Samtay";
|
|
tag = "v${version}";
|
|
hash = "sha256-xA2/n5zY01BLKlUI8BVvfuUvsqh2U23XOooTQwXkDpQ=";
|
|
};
|
|
libraryHaskellDepends = [
|
|
base
|
|
brick
|
|
containers
|
|
extra
|
|
lens
|
|
linear
|
|
mtl
|
|
random
|
|
transformers
|
|
vty
|
|
vty-crossplatform
|
|
];
|
|
executableHaskellDepends = [
|
|
base
|
|
directory
|
|
filepath
|
|
optparse-applicative
|
|
];
|
|
homepage = "https://github.com/samtay/tetris";
|
|
changelog = "https://github.com/samtay/tetris/releases/tag/v${version}";
|
|
license = lib.licenses.bsd3;
|
|
mainProgram = "tetris";
|
|
maintainers = [ lib.maintainers.Svenum ];
|
|
}
|
|
) { }
|
|
)
|