Add reflex-material
This commit is contained in:
parent
775ccda5d7
commit
0e0a9143e9
@ -42,5 +42,6 @@ with obelisk;
|
||||
ver = "0.2.1.0";
|
||||
sha256 = "04glpmwp50qi29h8cb5j0w1rz0ww30nw4xgj2a3l7zh1gprhwj89";
|
||||
} {};
|
||||
reflex-material = self.callCabal2nix "reflex-material" (nix-thunk.thunkSource ./dep/reflex-material + "/reflex-material") {};
|
||||
};
|
||||
}) // { inherit (obelisk) nixpkgs ; })
|
||||
|
2
dep/reflex-material/default.nix
Normal file
2
dep/reflex-material/default.nix
Normal file
@ -0,0 +1,2 @@
|
||||
# DO NOT HAND-EDIT THIS FILE
|
||||
import (import ./thunk.nix)
|
8
dep/reflex-material/github.json
Normal file
8
dep/reflex-material/github.json
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"owner": "rvl",
|
||||
"repo": "reflex-material",
|
||||
"branch": "master",
|
||||
"private": false,
|
||||
"rev": "b1c0364626eaec88e78e47fbb4cee1a984ccb361",
|
||||
"sha256": "1r76mvglhw2yxvbaxj9fpazpdlh01li8ma5cvqialy1iq704sw1v"
|
||||
}
|
12
dep/reflex-material/thunk.nix
Normal file
12
dep/reflex-material/thunk.nix
Normal 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
|
@ -11,6 +11,7 @@ library
|
||||
, obelisk-route
|
||||
, jsaddle
|
||||
, reflex-dom-core
|
||||
, reflex-material
|
||||
, obelisk-executable-config-lookup
|
||||
, obelisk-generated-static
|
||||
, text
|
||||
@ -26,6 +27,7 @@ executable frontend
|
||||
, obelisk-frontend
|
||||
, obelisk-route
|
||||
, reflex-dom
|
||||
, reflex-material
|
||||
, obelisk-generated-static
|
||||
, frontend
|
||||
ghc-options: -threaded -O -Wall -Wredundant-constraints -Wincomplete-uni-patterns -Wincomplete-record-updates -fno-show-valid-hole-fits
|
||||
|
Loading…
Reference in New Issue
Block a user