Add reflex-material

This commit is contained in:
Cale Gibbard 2023-02-22 10:51:46 -05:00
parent 775ccda5d7
commit 0e0a9143e9
5 changed files with 25 additions and 0 deletions

View File

@ -42,5 +42,6 @@ with obelisk;
ver = "0.2.1.0"; ver = "0.2.1.0";
sha256 = "04glpmwp50qi29h8cb5j0w1rz0ww30nw4xgj2a3l7zh1gprhwj89"; sha256 = "04glpmwp50qi29h8cb5j0w1rz0ww30nw4xgj2a3l7zh1gprhwj89";
} {}; } {};
reflex-material = self.callCabal2nix "reflex-material" (nix-thunk.thunkSource ./dep/reflex-material + "/reflex-material") {};
}; };
}) // { inherit (obelisk) nixpkgs ; }) }) // { inherit (obelisk) nixpkgs ; })

View File

@ -0,0 +1,2 @@
# DO NOT HAND-EDIT THIS FILE
import (import ./thunk.nix)

View File

@ -0,0 +1,8 @@
{
"owner": "rvl",
"repo": "reflex-material",
"branch": "master",
"private": false,
"rev": "b1c0364626eaec88e78e47fbb4cee1a984ccb361",
"sha256": "1r76mvglhw2yxvbaxj9fpazpdlh01li8ma5cvqialy1iq704sw1v"
}

View File

@ -0,0 +1,12 @@
# DO NOT HAND-EDIT THIS FILE
let fetch = { private ? false, fetchSubmodules ? false, owner, repo, rev, sha256, ... }:
if !fetchSubmodules && !private then builtins.fetchTarball {
url = "https://github.com/${owner}/${repo}/archive/${rev}.tar.gz"; inherit sha256;
} else (import (builtins.fetchTarball {
url = "https://github.com/NixOS/nixpkgs/archive/3aad50c30c826430b0270fcf8264c8c41b005403.tar.gz";
sha256 = "0xwqsf08sywd23x0xvw4c4ghq0l28w2ki22h0bdn766i16z9q2gr";
}) {}).fetchFromGitHub {
inherit owner repo rev sha256 fetchSubmodules private;
};
json = builtins.fromJSON (builtins.readFile ./github.json);
in fetch json

View File

@ -11,6 +11,7 @@ library
, obelisk-route , obelisk-route
, jsaddle , jsaddle
, reflex-dom-core , reflex-dom-core
, reflex-material
, obelisk-executable-config-lookup , obelisk-executable-config-lookup
, obelisk-generated-static , obelisk-generated-static
, text , text
@ -26,6 +27,7 @@ executable frontend
, obelisk-frontend , obelisk-frontend
, obelisk-route , obelisk-route
, reflex-dom , reflex-dom
, reflex-material
, obelisk-generated-static , obelisk-generated-static
, frontend , frontend
ghc-options: -threaded -O -Wall -Wredundant-constraints -Wincomplete-uni-patterns -Wincomplete-record-updates -fno-show-valid-hole-fits ghc-options: -threaded -O -Wall -Wredundant-constraints -Wincomplete-uni-patterns -Wincomplete-record-updates -fno-show-valid-hole-fits