license, min build?

This commit is contained in:
andromeda
2026-01-24 18:16:40 +01:00
parent 0ed50d577b
commit 13d057278d
7 changed files with 258 additions and 1 deletions

View File

@@ -12,9 +12,21 @@
}: let
version = "0.1.0";
package = {
# nix stuff
mkDerivation,
lib,
# haskell deps
base,
c-expr-runtime,
hs-bindgen-runtime,
# pkgconfig deps
libGL,
libX11,
libXcursor,
libXi,
xrandr,
# shell deps
hs-bindgen-cli,
}:
mkDerivation {
pname = "hs-rgfw";
@@ -22,11 +34,24 @@
src = ./.;
libraryHaskellDepends = [
base
c-expr-runtime
hs-bindgen-runtime
];
libraryPkgconfigDepends = [
libGL
libX11
libXcursor
libXi
xrandr
];
preBuild = ''
set -x
export PATH=${hs-bindgen-cli}/bin:\$PATH
./generate.sh
set +x
'';
homepage = "https://git.mtgmonkey.net/Andromeda/hs-rgfw";
license = lib.licenses.bsd3;
license = lib.licenses.gpl3Only;
platforms = ["x86_64-linux"];
};
system = "x86_64-linux";