2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
2021-10-08 15:17:17 +00:00
|
|
|
, fetchCrate
|
2020-09-25 04:45:31 +00:00
|
|
|
, rustPlatform
|
|
|
|
, cmake
|
2021-02-05 17:12:51 +00:00
|
|
|
, pkg-config
|
2020-09-25 04:45:31 +00:00
|
|
|
, openssl
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "wyvern";
|
|
|
|
version = "1.4.1";
|
|
|
|
|
2021-10-08 15:17:17 +00:00
|
|
|
src = fetchCrate {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "sha256-OjL3wEoh4fT2nKqb7lMefP5B0vYyUaTRj09OXPEVfW4=";
|
2020-09-25 04:45:31 +00:00
|
|
|
};
|
|
|
|
|
2021-10-08 15:17:17 +00:00
|
|
|
cargoSha256 = "sha256-CL6VXe7heyBbGX0qI4uaD7g7DLiFbykSfOcWemnEe8U=";
|
2020-09-25 04:45:31 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
2020-09-25 04:45:31 +00:00
|
|
|
buildInputs = [ openssl ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-09-25 04:45:31 +00: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-08 15:17:17 +00:00
|
|
|
maintainers = with maintainers; [ _0x4A6F ];
|
2020-09-25 04:45:31 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|