mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +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/'
33 lines
759 B
Nix
33 lines
759 B
Nix
{ lib
|
|
, fetchCrate
|
|
, rustPlatform
|
|
, cmake
|
|
, pkg-config
|
|
, openssl
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "wyvern";
|
|
version = "1.4.1";
|
|
|
|
src = fetchCrate {
|
|
inherit pname version;
|
|
hash = "sha256-OjL3wEoh4fT2nKqb7lMefP5B0vYyUaTRj09OXPEVfW4=";
|
|
};
|
|
|
|
cargoPatches = [ ./cargo-lock.patch ];
|
|
|
|
cargoHash = "sha256-cwk8yFt8JrYkYlNUW9n/bgMUA6jyOpG0TSh5C+eERLY=";
|
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
|
buildInputs = [ openssl ];
|
|
|
|
meta = with lib; {
|
|
description = "Simple CLI client for installing and maintaining linux GOG games";
|
|
mainProgram = "wyvern";
|
|
homepage = "https://git.sr.ht/~nicohman/wyvern";
|
|
license = licenses.gpl3;
|
|
maintainers = with maintainers; [ _0x4A6F ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|