mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
39 lines
853 B
Nix
39 lines
853 B
Nix
{
|
|
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 = "Single TUI-based registry for drm-free, wine and steam games on linux, accessed through a rofi launch menu";
|
|
mainProgram = "eidolon";
|
|
homepage = "https://github.com/nicohman/eidolon";
|
|
license = licenses.gpl3Only;
|
|
maintainers = with maintainers; [ _0x4A6F ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|