nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib
2, fetchCrate
3, rustPlatform
4, cmake
5, pkg-config
6, openssl
7}:
8
9rustPlatform.buildRustPackage rec {
10 pname = "wyvern";
11 version = "1.4.1";
12
13 src = fetchCrate {
14 inherit pname version;
15 hash = "sha256-OjL3wEoh4fT2nKqb7lMefP5B0vYyUaTRj09OXPEVfW4=";
16 };
17
18 cargoPatches = [ ./cargo-lock.patch ];
19
20 cargoHash = "sha256-cwk8yFt8JrYkYlNUW9n/bgMUA6jyOpG0TSh5C+eERLY=";
21
22 nativeBuildInputs = [ cmake pkg-config ];
23 buildInputs = [ openssl ];
24
25 meta = with lib; {
26 description = "A simple CLI client for installing and maintaining linux GOG games";
27 homepage = "https://git.sr.ht/~nicohman/wyvern";
28 license = licenses.gpl3;
29 maintainers = with maintainers; [ _0x4A6F ];
30 platforms = platforms.linux;
31 };
32}