depot/third_party/nixpkgs/pkgs/tools/networking/polygon-cli/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

34 lines
749 B
Nix

{ lib
, python3
, fetchPypi
}:
python3.pkgs.buildPythonPackage rec {
pname = "polygon-cli";
version = "1.1.11";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-gEz3kcXbXj9dXnMCx0Q8TjCQemXvJne9EwFsPt14xV4=";
};
propagatedBuildInputs = with python3.pkgs; [
setuptools
requests
prettytable
colorama
pyyaml
];
doCheck = false;
meta = {
description = "Command-line tool for polygon.codeforces.com";
mainProgram = "polygon-cli";
homepage = "https://github.com/kunyavskiy/polygon-cli";
changelog = "https://github.com/kunyavskiy/polygon-cli/releases/tag/${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ khaser ];
};
}