diff options
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/games/eidolon')
-rw-r--r-- | infra/libkookie/nixpkgs/pkgs/games/eidolon/cargo-lock.patch | 19 | ||||
-rw-r--r-- | infra/libkookie/nixpkgs/pkgs/games/eidolon/default.nix | 26 |
2 files changed, 45 insertions, 0 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/games/eidolon/cargo-lock.patch b/infra/libkookie/nixpkgs/pkgs/games/eidolon/cargo-lock.patch new file mode 100644 index 000000000000..5aa09c526830 --- /dev/null +++ b/infra/libkookie/nixpkgs/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/infra/libkookie/nixpkgs/pkgs/games/eidolon/default.nix b/infra/libkookie/nixpkgs/pkgs/games/eidolon/default.nix new file mode 100644 index 000000000000..e982c95c4d66 --- /dev/null +++ b/infra/libkookie/nixpkgs/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 = "1i8qfphynwi42pkhhgllxq42dnw9f0dd6f829z94a3g91czyqvsw"; + + 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 = with maintainers; [ _0x4A6F ]; + platforms = platforms.linux; + }; +} |