depot/third_party/nixpkgs/pkgs/misc/emulators/proton-caller/default.nix
Default email ec92d4d331 Project import generated by Copybara.
GitOrigin-RevId: 540dccb2aeaffa9dc69bfdc41c55abd7ccc6baa3
2021-05-28 11:39:13 +02:00

31 lines
833 B
Nix

{ lib, fetchFromGitHub, rustPlatform, installShellFiles }:
rustPlatform.buildRustPackage rec {
pname = "proton-caller";
version = "2.2.3";
src = fetchFromGitHub {
owner = "caverym";
repo = pname;
rev = "version";
sha256 = "0968pmapg6157q4rvfp690l1sjnws8hm62lvm8kaaqysac339z7z";
};
cargoSha256 = "1vp2vvgy8z350a59k1c3s5ww6w2wikiha4s7jkkz9khl0spn19a8";
nativeBuildInputs = [ installShellFiles ];
outputs = [ "out" "man" ];
postInstall = ''
installManPage manual/proton-call.6
'';
meta = with lib; {
description = "Run Windows programs with Proton";
changelog = "https://github.com/caverym/proton-caller/releases/tag/${version}";
homepage = "https://github.com/caverym/proton-caller";
license = licenses.gpl3Only;
maintainers = with maintainers; [ kho-dialga ];
};
}