diff options
Diffstat (limited to 'nixpkgs/pkgs/games/eidolon/default.nix')
-rw-r--r-- | nixpkgs/pkgs/games/eidolon/default.nix | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/games/eidolon/default.nix b/nixpkgs/pkgs/games/eidolon/default.nix new file mode 100644 index 000000000000..34bfd4151894 --- /dev/null +++ b/nixpkgs/pkgs/games/eidolon/default.nix @@ -0,0 +1,38 @@ +{ + lib, + fetchFromSourcehut, + rustPlatform, + pkg-config, + openssl, +}: + +rustPlatform.buildRustPackage rec { + pname = "eidolon"; + version = "1.4.6"; + + src = fetchFromSourcehut { + owner = "~nicohman"; + repo = pname; + rev = version; + hash = "sha256-Ofc3i+iMmbUgY3bomUk4rM3bEQInTV3rIPz3m0yZw/o="; + }; + + cargoLock = { + lockFile = ./Cargo.lock; + }; + + nativeBuildInputs = [ pkg-config ]; + buildInputs = [ openssl ]; + + postPatch = '' + ln -sf ${./Cargo.lock} Cargo.lock + ''; + + meta = with 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.gpl3Only; + maintainers = with maintainers; [ _0x4A6F ]; + platforms = platforms.linux; + }; +} |