2023-01-13 01:00:20 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
fetchFromSourcehut,
|
|
|
|
rustPlatform,
|
|
|
|
pkg-config,
|
|
|
|
openssl,
|
|
|
|
}:
|
2019-09-20 22:59:20 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "eidolon";
|
|
|
|
version = "1.4.6";
|
|
|
|
|
2020-10-31 12:20:43 +00:00
|
|
|
src = fetchFromSourcehut {
|
|
|
|
owner = "~nicohman";
|
|
|
|
repo = pname;
|
2020-11-01 22:39:49 +00:00
|
|
|
rev = version;
|
2023-01-13 01:00:20 +00:00
|
|
|
sha256 = "sha256-Ofc3i+iMmbUgY3bomUk4rM3bEQInTV3rIPz3m0yZw/o=";
|
2019-09-20 22:59:20 +00:00
|
|
|
};
|
|
|
|
|
2023-02-26 01:34:02 +00:00
|
|
|
cargoLock = {
|
|
|
|
lockFile = ./Cargo.lock;
|
|
|
|
};
|
2019-09-20 22:59:20 +00:00
|
|
|
|
2021-01-17 05:49:22 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2019-09-20 22:59:20 +00:00
|
|
|
buildInputs = [ openssl ];
|
|
|
|
|
2023-02-26 01:34:02 +00:00
|
|
|
postPatch = ''
|
|
|
|
ln -sf ${./Cargo.lock} Cargo.lock
|
|
|
|
'';
|
2023-01-13 01:00:20 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-09-20 22:59:20 +00:00
|
|
|
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";
|
2023-02-26 01:34:02 +00:00
|
|
|
license = licenses.gpl3Only;
|
2020-07-29 10:49:07 +00:00
|
|
|
maintainers = with maintainers; [ _0x4A6F ];
|
2019-09-20 22:59:20 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|