2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv
|
2019-08-14 18:59:35 +01:00
|
|
|
, fetchgit
|
|
|
|
, rustPlatform
|
|
|
|
, unzip
|
|
|
|
, rsync
|
|
|
|
, innoextract
|
|
|
|
, curl
|
|
|
|
, 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";
|
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://git.sr.ht/~nicohman/wyvern";
|
2020-11-01 22:39:49 +00:00
|
|
|
rev = version;
|
2019-08-14 18:59:35 +01:00
|
|
|
sha256 = "1sl3yhash1527amc8rs4374fd7jbgnkyy7qpw94ms2gs80sdv3s5";
|
|
|
|
};
|
|
|
|
cargoPatches = [ ./cargo-lock.patch ];
|
|
|
|
|
|
|
|
cargoSha256 = "sha256:1nd5qla3p1jrssg5fqal8m3jcbxax0wsfc8cp97jdrpqlcgqfmrx";
|
|
|
|
|
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;
|
|
|
|
maintainers = with maintainers;[ _0x4A6F ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|