merge development into master

This commit is contained in:
mtgmonkey
2025-12-21 12:23:57 +01:00
parent e9b4e2d34a
commit a62275f853
7 changed files with 382 additions and 413 deletions

View File

@@ -7,41 +7,11 @@
self,
...
}: let
versionString = "0.3.0";
package = {
mkDerivation,
base,
bytestring,
GLFW-b,
lens,
lib,
linear,
OpenGL,
}:
mkDerivation {
pname = "hs-game";
version = versionString;
src = ./.;
isLibrary = false;
isExecutable = true;
executableHaskellDepends = [
base
bytestring
GLFW-b
lens
linear
OpenGL
];
homepage = "https://git.mtgmonkey.net/Andromeda/hs-game";
license = lib.licenses.bsd3;
mainProgram = "hs-game";
};
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in {
packages.${system} = {
default =
pkgs.haskellPackages.callPackage package {};
default = pkgs.haskellPackages.callCabal2nix "hs-game" ./. {};
};
devShells.${system} = {
default = pkgs.mkShell {