aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/games/wyvern/default.nix
blob: dcf81bc0985fa8247c9ba62591a32644fe5c500b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{ stdenv
, fetchgit
, rustPlatform
, unzip
, rsync
, innoextract
, curl
, cmake
, pkgconfig
, openssl
}:

rustPlatform.buildRustPackage rec {
  pname = "wyvern";
  version = "1.4.1";

  src = fetchgit {
    url = "https://git.sr.ht/~nicohman/wyvern";
    rev = version;
    sha256 = "1sl3yhash1527amc8rs4374fd7jbgnkyy7qpw94ms2gs80sdv3s5";
  };
  cargoPatches = [ ./cargo-lock.patch ];

  cargoSha256 = "sha256:1nd5qla3p1jrssg5fqal8m3jcbxax0wsfc8cp97jdrpqlcgqfmrx";

  nativeBuildInputs = [ cmake pkgconfig ];
  buildInputs = [ openssl ];

  meta = with stdenv.lib; {
    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;
  };
}