2021-01-25 09:26:54 +01:00
|
|
|
{ lib
|
2021-10-07 17:25:25 +02:00
|
|
|
, fetchCrate
|
2019-08-14 19:59:35 +02:00
|
|
|
, rustPlatform
|
|
|
|
, cmake
|
2021-01-17 06:49:22 +01:00
|
|
|
, pkg-config
|
2019-08-14 19:59:35 +02:00
|
|
|
, openssl
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "wyvern";
|
|
|
|
version = "1.4.1";
|
|
|
|
|
2021-10-07 17:25:25 +02:00
|
|
|
src = fetchCrate {
|
|
|
|
inherit pname version;
|
2023-05-09 19:34:48 +02:00
|
|
|
hash = "sha256-OjL3wEoh4fT2nKqb7lMefP5B0vYyUaTRj09OXPEVfW4=";
|
2019-08-14 19:59:35 +02:00
|
|
|
};
|
|
|
|
|
2023-05-09 19:34:48 +02:00
|
|
|
cargoPatches = [ ./cargo-lock.patch ];
|
|
|
|
|
|
|
|
cargoHash = "sha256-cwk8yFt8JrYkYlNUW9n/bgMUA6jyOpG0TSh5C+eERLY=";
|
2019-08-14 19:59:35 +02:00
|
|
|
|
2021-01-17 06:49:22 +01:00
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
2019-08-14 19:59:35 +02:00
|
|
|
buildInputs = [ openssl ];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2019-08-14 19:59:35 +02:00
|
|
|
description = "A simple CLI client for installing and maintaining linux GOG games";
|
|
|
|
homepage = "https://git.sr.ht/~nicohman/wyvern";
|
|
|
|
license = licenses.gpl3;
|
2021-10-07 17:25:25 +02:00
|
|
|
maintainers = with maintainers; [ _0x4A6F ];
|
2019-08-14 19:59:35 +02:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|