nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 fetchFromSourcehut,
4 rustPlatform,
5 pkg-config,
6 openssl,
7}:
8
9rustPlatform.buildRustPackage rec {
10 pname = "eidolon";
11 version = "1.4.6";
12
13 src = fetchFromSourcehut {
14 owner = "~nicohman";
15 repo = pname;
16 rev = version;
17 sha256 = "sha256-Ofc3i+iMmbUgY3bomUk4rM3bEQInTV3rIPz3m0yZw/o=";
18 };
19
20 cargoLock = {
21 lockFile = ./Cargo.lock;
22 };
23
24 nativeBuildInputs = [ pkg-config ];
25 buildInputs = [ openssl ];
26
27 postPatch = ''
28 ln -sf ${./Cargo.lock} Cargo.lock
29 '';
30
31 meta = with lib; {
32 description = "A single TUI-based registry for drm-free, wine and steam games on linux, accessed through a rofi launch menu";
33 homepage = "https://github.com/nicohman/eidolon";
34 license = licenses.gpl3Only;
35 maintainers = with maintainers; [ _0x4A6F ];
36 platforms = platforms.linux;
37 };
38}