summaryrefslogtreecommitdiff
path: root/pkgs/exneuland.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/exneuland.nix')
-rw-r--r--pkgs/exneuland.nix32
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/exneuland.nix b/pkgs/exneuland.nix
new file mode 100644
index 0000000..9cd4c71
--- /dev/null
+++ b/pkgs/exneuland.nix
@@ -0,0 +1,32 @@
+let
+ sources = import ../nix/sources.nix {};
+in
+
+with import sources.nixpkgs {};
+
+let
+ packages = beam.packagesWith beam.interpreters.erlang;
+ src = fetchFromGitLab {
+ owner = "hexchen";
+ repo = "exneuland";
+ rev = "main";
+ sha256 = "0zh1vvjhzaymlngg5armhp6xqrdjmnd29hpf7c3ci03h3rg4snbq";
+ };
+
+ pname = "exneuland";
+ version = "0.0.1";
+ mixEnv = "prod";
+
+ mixDeps = packages.fetchMixDeps {
+ pname = "mix-deps-${pname}";
+ inherit src mixEnv version;
+ sha256 = "0nyips2ky6rmgq3xdhrhg4fnw4m2pmck6p1amw9m7qisdqlxhv25";
+ };
+
+in (packages.mixRelease.override {
+ elixir = (import sources.nixpkgs-unstable {}).elixir_1_12;
+}) {
+ inherit src pname version mixEnv mixDeps;
+
+ buildInputs = [ rebar3 protobuf ];
+}