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;
|
2023-05-24 13:37:59 +00:00
|
|
|
hash = "sha256-OjL3wEoh4fT2nKqb7lMefP5B0vYyUaTRj09OXPEVfW4=";
|
2020-09-25 04:45:31 +00:00
|
|
|
};
|
|
|
|
|
2023-05-24 13:37:59 +00:00
|
|
|
cargoPatches = [ ./cargo-lock.patch ];
|
|
|
|
|
|
|
|
cargoHash = "sha256-cwk8yFt8JrYkYlNUW9n/bgMUA6jyOpG0TSh5C+eERLY=";
|
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;
|
|
|
|
};
|
|
|
|
}
|