depot/third_party/nixpkgs/pkgs/by-name/pi/pirate-get/package.nix

24 lines
617 B
Nix

{ lib, python3Packages, fetchPypi }:
with python3Packages;
buildPythonApplication rec {
pname = "pirate-get";
version = "0.4.2";
src = fetchPypi {
inherit pname version;
hash = "sha256-VtnVyJqrdGXTqcyzpHCOMUI9G7/BkXzihDrBrsxl7Eg=";
};
propagatedBuildInputs = [ colorama veryprettytable pyperclip ];
meta = with lib; {
description = "Command line interface for The Pirate Bay";
mainProgram = "pirate-get";
homepage = "https://github.com/vikstrous/pirate-get";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ rnhmjoj ];
platforms = platforms.unix;
};
}