aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/games/wyvern/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/games/wyvern/default.nix')
-rw-r--r--nixpkgs/pkgs/games/wyvern/default.nix36
1 files changed, 36 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/games/wyvern/default.nix b/nixpkgs/pkgs/games/wyvern/default.nix
new file mode 100644
index 00000000000..4723a6c52fa
--- /dev/null
+++ b/nixpkgs/pkgs/games/wyvern/default.nix
@@ -0,0 +1,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;
+ };
+}