summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author0x4A6F <0x4A6F@users.noreply.github.com>2019-09-20 22:59:20 +0000
committer0x4A6F <0x4A6F@users.noreply.github.com>2019-09-20 23:34:12 +0000
commit1bcc7027d99fae103953e989919b91b2bcaa25b3 (patch)
tree73707d0c33ff8e3a1503c166b9c958f55ab123df
parentb3dec4fa26ad34d524cfa510ce225f95b1dc11f3 (diff)
eidolon: init at 1.4.6
-rw-r--r--pkgs/games/eidolon/cargo-lock.patch19
-rw-r--r--pkgs/games/eidolon/default.nix26
-rw-r--r--pkgs/top-level/all-packages.nix2
3 files changed, 47 insertions, 0 deletions
diff --git a/pkgs/games/eidolon/cargo-lock.patch b/pkgs/games/eidolon/cargo-lock.patch
new file mode 100644
index 000000000000..5aa09c526830
--- /dev/null
+++ b/pkgs/games/eidolon/cargo-lock.patch
@@ -0,0 +1,19 @@
+diff --git a/Cargo.lock b/Cargo.lock
+index 8abf781..62511ef 100644
+--- a/Cargo.lock
++++ b/Cargo.lock
+@@ -1,3 +1,5 @@
++# This file is automatically @generated by Cargo.
++# It is not intended for manual editing.
+ [[package]]
+ name = "adler32"
+ version = "1.0.3"
+@@ -229,7 +231,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
+
+ [[package]]
+ name = "eidolon"
+-version = "1.4.5"
++version = "1.4.6"
+ dependencies = [
+ "butlerd 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "dirs 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)",
diff --git a/pkgs/games/eidolon/default.nix b/pkgs/games/eidolon/default.nix
new file mode 100644
index 000000000000..ab3d9647dc85
--- /dev/null
+++ b/pkgs/games/eidolon/default.nix
@@ -0,0 +1,26 @@
+{ stdenv, fetchgit, rustPlatform, pkgconfig, openssl }:
+
+rustPlatform.buildRustPackage rec {
+ pname = "eidolon";
+ version = "1.4.6";
+
+ src = fetchgit {
+ url = "https://git.sr.ht/~nicohman/eidolon";
+ rev = "${version}";
+ sha256 = "1yn3k569pxzw43mmsk97088xpkdc714rks3ncchbb6ccx25kgxrr";
+ };
+ cargoPatches = [ ./cargo-lock.patch ];
+
+ cargoSha256 = "1887fjkk641cn6dpmyc5r3r2li61yw1nvfb0f2dp3169gycka15h";
+
+ nativeBuildInputs = [ pkgconfig ];
+ buildInputs = [ openssl ];
+
+ meta = with stdenv.lib; {
+ description = "A single TUI-based registry for drm-free, wine and steam games on linux, accessed through a rofi launch menu";
+ homepage = "https://github.com/nicohman/eidolon";
+ license = licenses.gpl3;
+ maintainers = [ maintainers."0x4A6F" ];
+ platforms = platforms.linux;
+ };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 30944855831d..e84e4ca2987e 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -21933,6 +21933,8 @@ in
egoboo = callPackage ../games/egoboo { };
+ eidolon = callPackage ../games/eidolon { };
+
EmptyEpsilon = callPackage ../games/empty-epsilon { };
endgame-singularity = callPackage ../games/endgame-singularity { };