nixpkgs/pkgs/games/wyvern/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
733 B
Nix
Raw Normal View History

{ lib
, fetchCrate
2019-08-14 17:59:35 +00:00
, rustPlatform
, cmake
, pkg-config
2019-08-14 17:59:35 +00:00
, openssl
}:
rustPlatform.buildRustPackage rec {
pname = "wyvern";
version = "1.4.1";
src = fetchCrate {
inherit pname version;
hash = "sha256-OjL3wEoh4fT2nKqb7lMefP5B0vYyUaTRj09OXPEVfW4=";
2019-08-14 17:59:35 +00:00
};
cargoPatches = [ ./cargo-lock.patch ];
cargoHash = "sha256-cwk8yFt8JrYkYlNUW9n/bgMUA6jyOpG0TSh5C+eERLY=";
2019-08-14 17:59:35 +00:00
nativeBuildInputs = [ cmake pkg-config ];
2019-08-14 17:59:35 +00:00
buildInputs = [ openssl ];
meta = with lib; {
2019-08-14 17:59:35 +00: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 17:59:35 +00:00
platforms = platforms.linux;
};
}