nixpkgs-suyu/pkgs/games/wyvern/default.nix

31 lines
695 B
Nix
Raw Normal View History

{ lib
, fetchCrate
2019-08-14 19:59:35 +02:00
, rustPlatform
, cmake
, pkg-config
2019-08-14 19:59:35 +02:00
, openssl
}:
rustPlatform.buildRustPackage rec {
pname = "wyvern";
version = "1.4.1";
src = fetchCrate {
inherit pname version;
sha256 = "sha256-OjL3wEoh4fT2nKqb7lMefP5B0vYyUaTRj09OXPEVfW4=";
2019-08-14 19:59:35 +02:00
};
cargoSha256 = "sha256-CL6VXe7heyBbGX0qI4uaD7g7DLiFbykSfOcWemnEe8U=";
2019-08-14 19:59:35 +02:00
nativeBuildInputs = [ cmake pkg-config ];
2019-08-14 19:59:35 +02:00
buildInputs = [ openssl ];
meta = with lib; {
2019-08-14 19:59:35 +02: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 ];
2019-08-14 19:59:35 +02:00
platforms = platforms.linux;
};
}