2023-01-20 10:41:00 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
fetchFromSourcehut,
|
|
|
|
rustPlatform,
|
|
|
|
pkg-config,
|
|
|
|
openssl,
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "eidolon";
|
|
|
|
version = "1.4.6";
|
|
|
|
|
2021-03-12 07:09:13 +00:00
|
|
|
src = fetchFromSourcehut {
|
|
|
|
owner = "~nicohman";
|
|
|
|
repo = pname;
|
2020-11-03 02:18:15 +00:00
|
|
|
rev = version;
|
2023-01-20 10:41:00 +00:00
|
|
|
sha256 = "sha256-Ofc3i+iMmbUgY3bomUk4rM3bEQInTV3rIPz3m0yZw/o=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
cargoPatches = [ ./cargo-lock.patch ];
|
|
|
|
|
2023-01-20 10:41:00 +00:00
|
|
|
cargoSha256 = "sha256-1d+Wgx6tBS1Rb8WpVrD/ja0zXdoE2Q9ZlUS/3p8OYWM=";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ openssl ];
|
|
|
|
|
2023-01-20 10:41:00 +00:00
|
|
|
OPENSSL_NO_VENDOR = 1;
|
|
|
|
OPENSSL_LIB_DIR = "${lib.getLib openssl}/lib";
|
|
|
|
OPENSSL_INCLUDE_DIR = "${openssl.dev}/include";
|
|
|
|
OPENSSL_DIR="${lib.getDev openssl}";
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +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";
|
|
|
|
license = licenses.gpl3;
|
2020-08-20 17:08:02 +00:00
|
|
|
maintainers = with maintainers; [ _0x4A6F ];
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|