From 1ea5c9e37669ee824b92b644f80de2c26c9fdf44 Mon Sep 17 00:00:00 2001 From: Matei Adriel Date: Sun, 30 Jan 2022 21:32:15 +0200 Subject: [PATCH] feat: experimental edopro derivation --- modules/overlays/default.nix | 10 +++++++++- modules/overlays/edopro/default.nix | 1 + modules/overlays/edopro/edopro.nix | 20 ++++++++++++++++++++ 3 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 modules/overlays/edopro/default.nix create mode 100644 modules/overlays/edopro/edopro.nix diff --git a/modules/overlays/default.nix b/modules/overlays/default.nix index 925f1e5..163841a 100644 --- a/modules/overlays/default.nix +++ b/modules/overlays/default.nix @@ -1 +1,9 @@ -{ pkgs, ... }: { nixpkgs.overlays = [ (import ./tweakSources.nix) ]; } +{ pkgs, ... }: { + nixpkgs.overlays = [ + (import ./tweakSources.nix) + + # I hope this works + (import ./edopro) + + ]; +} diff --git a/modules/overlays/edopro/default.nix b/modules/overlays/edopro/default.nix new file mode 100644 index 0000000..405b4af --- /dev/null +++ b/modules/overlays/edopro/default.nix @@ -0,0 +1 @@ +self: super: { edopro = self.callPackage (import ./edopro.nix) { }; } diff --git a/modules/overlays/edopro/edopro.nix b/modules/overlays/edopro/edopro.nix new file mode 100644 index 0000000..9a2cdd7 --- /dev/null +++ b/modules/overlays/edopro/edopro.nix @@ -0,0 +1,20 @@ +{ pkgs, ... }: +pkgs.stdenv.mkDerivation rec { + pname = "edopro"; + version = "39.2.0"; + rev = "20210927"; + + src = pkgs.fetchurl { + url = + "https://github.com/ProjectIgnis/edopro-assets/releases/download/${rev}/ProjectIgnis-EDOPro-${version}-linux.tar.gz"; + }; + + buildInputs = [ pkgs.mono ]; + configurePhase = ""; + buildPhase = ""; + + installPhase = '' + mkdir -p $out/bin + mv edopro $out/bin + ''; +}