2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2021-10-07 16:25:25 +01:00
|
|
|
, fetchCrate
|
2019-08-14 18:59:35 +01:00
|
|
|
, rustPlatform
|
|
|
|
, cmake
|
2021-01-17 05:49:22 +00:00
|
|
|
, pkg-config
|
2019-08-14 18:59:35 +01:00
|
|
|
, openssl
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "wyvern";
|
|
|
|
version = "1.4.1";
|
|
|
|
|
2021-10-07 16:25:25 +01:00
|
|
|
src = fetchCrate {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "sha256-OjL3wEoh4fT2nKqb7lMefP5B0vYyUaTRj09OXPEVfW4=";
|
2019-08-14 18:59:35 +01:00
|
|
|
};
|
|
|
|
|
2021-10-07 16:25:25 +01:00
|
|
|
cargoSha256 = "sha256-CL6VXe7heyBbGX0qI4uaD7g7DLiFbykSfOcWemnEe8U=";
|
2019-08-14 18:59:35 +01:00
|
|
|
|
2021-01-17 05:49:22 +00:00
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
2019-08-14 18:59:35 +01:00
|
|
|
buildInputs = [ openssl ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-08-14 18:59:35 +01: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 16:25:25 +01:00
|
|
|
maintainers = with maintainers; [ _0x4A6F ];
|
2019-08-14 18:59:35 +01:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|