depot/third_party/nixpkgs/pkgs/misc/emulators/proton-caller/default.nix
Default email 18bad4282a Project import generated by Copybara.
GitOrigin-RevId: 1c2986bbb806c57f9470bf3231d8da7250ab9091
2021-06-01 12:57:12 +02:00

31 lines
831 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 ];
};
}