remove old files
This commit is contained in:
@@ -1 +0,0 @@
|
|||||||
generate type-safe GLSL with this Haskell grammar. Under heavy development.
|
|
||||||
38
package.nix
38
package.nix
@@ -1,38 +0,0 @@
|
|||||||
{
|
|
||||||
haskellPackages,
|
|
||||||
lib,
|
|
||||||
stdenv,
|
|
||||||
...
|
|
||||||
}: let
|
|
||||||
ghcExeOptions = "-O -Wall -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N -main-is Language.GLSL.Examples.main";
|
|
||||||
ghcPackages = p: [
|
|
||||||
p.relude
|
|
||||||
p.pretty-simple
|
|
||||||
];
|
|
||||||
in
|
|
||||||
stdenv.mkDerivation {
|
|
||||||
pname = "hs-glsl";
|
|
||||||
version = "0.1.0";
|
|
||||||
src = ./src;
|
|
||||||
nativeBuildInputs = [
|
|
||||||
(haskellPackages.ghcWithPackages ghcPackages)
|
|
||||||
];
|
|
||||||
buildInputs = [
|
|
||||||
];
|
|
||||||
configurePhase = ''
|
|
||||||
'';
|
|
||||||
buildPhase = ''
|
|
||||||
ghc ${ghcExeOptions} ./Language/GLSL/Examples.hs -o ./Main
|
|
||||||
'';
|
|
||||||
installPhase = ''
|
|
||||||
mkdir -p $out/bin
|
|
||||||
cp ./Main $out/bin/hs-glsl
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
homepage = "https://mtgmonkey.net";
|
|
||||||
license = lib.licenses.wtfpl;
|
|
||||||
mainProgram = "hs-glsl";
|
|
||||||
platforms = ["x86_64-linux"];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user