2
0
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-24 14:43:37 +00:00
nixpkgs/pkgs/applications/networking/protonvpn-cli/default.nix

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

42 lines
864 B
Nix
Raw Normal View History

2022-05-06 21:26:57 +00:00
{ lib
, buildPythonApplication
, pythonOlder
, fetchFromGitHub
, protonvpn-nm-lib
, pythondialog
, dialog
}:
2019-01-14 11:22:42 +00:00
2022-05-06 21:26:57 +00:00
buildPythonApplication rec {
pname = "protonvpn-cli";
2022-09-16 17:19:50 +00:00
version = "3.13.0";
2022-05-06 21:26:57 +00:00
format = "setuptools";
disabled = pythonOlder "3.5";
2019-01-14 11:22:42 +00:00
src = fetchFromGitHub {
owner = "protonvpn";
repo = "linux-cli";
2022-09-16 17:19:50 +00:00
rev = "refs/tags/${version}";
sha256 = "sha256-KhfogC23i7THe6YZJ6Sy1+q83vZupHsS69NurHCeo8I=";
2019-01-14 11:22:42 +00:00
};
2022-05-06 21:26:57 +00:00
propagatedBuildInputs = [
protonvpn-nm-lib
pythondialog
dialog
];
2019-01-14 11:22:42 +00:00
2022-05-06 21:26:57 +00:00
# Project has a dummy test
doCheck = false;
2019-01-14 11:22:42 +00:00
meta = with lib; {
description = "Linux command-line client for ProtonVPN";
homepage = "https://github.com/protonvpn/linux-cli";
2022-05-06 21:26:57 +00:00
maintainers = with maintainers; [ wolfangaukang ];
license = licenses.gpl3Plus;
2021-01-21 14:00:04 +00:00
platforms = platforms.linux;
2022-05-06 21:26:57 +00:00
mainProgram = "protonvpn-cli";
2019-01-14 11:22:42 +00:00
};
}