license, min build?
This commit is contained in:
27
flake.nix
27
flake.nix
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user