wyvern: switch to fetchCrate, remove patch

main
figsoda 3 years ago
parent 001bd7c466
commit 544ff6b412
  1. 2514
      pkgs/games/wyvern/cargo-lock.patch
  2. 18
      pkgs/games/wyvern/default.nix

File diff suppressed because it is too large Load Diff

@ -1,10 +1,6 @@
{ lib
, fetchgit
, fetchCrate
, rustPlatform
, unzip
, rsync
, innoextract
, curl
, cmake
, pkg-config
, openssl
@ -14,14 +10,12 @@ rustPlatform.buildRustPackage rec {
pname = "wyvern";
version = "1.4.1";
src = fetchgit {
url = "https://git.sr.ht/~nicohman/wyvern";
rev = version;
sha256 = "1sl3yhash1527amc8rs4374fd7jbgnkyy7qpw94ms2gs80sdv3s5";
src = fetchCrate {
inherit pname version;
sha256 = "sha256-OjL3wEoh4fT2nKqb7lMefP5B0vYyUaTRj09OXPEVfW4=";
};
cargoPatches = [ ./cargo-lock.patch ];
cargoSha256 = "sha256:1nd5qla3p1jrssg5fqal8m3jcbxax0wsfc8cp97jdrpqlcgqfmrx";
cargoSha256 = "sha256-CL6VXe7heyBbGX0qI4uaD7g7DLiFbykSfOcWemnEe8U=";
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ openssl ];
@ -30,7 +24,7 @@ rustPlatform.buildRustPackage rec {
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 ];
maintainers = with maintainers; [ _0x4A6F ];
platforms = platforms.linux;
};
}

Loading…
Cancel
Save