nixpkgs/pkgs/games/eidolon/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
988 B
Nix
Raw Normal View History

2023-01-13 02:00:20 +01:00
{
lib,
fetchFromSourcehut,
rustPlatform,
pkg-config,
openssl,
}:
2019-09-21 00:59:20 +02:00
rustPlatform.buildRustPackage rec {
pname = "eidolon";
version = "1.4.6";
2020-10-31 13:20:43 +01:00
src = fetchFromSourcehut {
owner = "~nicohman";
repo = pname;
rev = version;
2023-01-13 02:00:20 +01:00
sha256 = "sha256-Ofc3i+iMmbUgY3bomUk4rM3bEQInTV3rIPz3m0yZw/o=";
2019-09-21 00:59:20 +02:00
};
cargoPatches = [ ./cargo-lock.patch ];
2023-01-13 02:00:20 +01:00
cargoSha256 = "sha256-1d+Wgx6tBS1Rb8WpVrD/ja0zXdoE2Q9ZlUS/3p8OYWM=";
2019-09-21 00:59:20 +02:00
nativeBuildInputs = [ pkg-config ];
2019-09-21 00:59:20 +02:00
buildInputs = [ openssl ];
2023-01-13 02:00:20 +01:00
OPENSSL_NO_VENDOR = 1;
OPENSSL_LIB_DIR = "${lib.getLib openssl}/lib";
OPENSSL_INCLUDE_DIR = "${openssl.dev}/include";
OPENSSL_DIR="${lib.getDev openssl}";
meta = with lib; {
2019-09-21 00:59:20 +02: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-07-29 12:49:07 +02:00
maintainers = with maintainers; [ _0x4A6F ];
2019-09-21 00:59:20 +02:00
platforms = platforms.linux;
};
}