nixpkgs/pkgs/development/python-modules/gplaycli/default.nix
Jörg Thalheim 5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00

76 lines
1.4 KiB
Nix

{
lib,
args,
buildPythonPackage,
clint,
fetchFromGitHub,
libffi,
matlink-gpapi,
ndg-httpsclient,
protobuf,
pyasn1,
pyaxmlparser,
pytestCheckHook,
pythonOlder,
requests,
setuptools,
}:
buildPythonPackage rec {
pname = "gplaycli";
version = "3.29";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "matlink";
repo = "gplaycli";
rev = "refs/tags/${version}";
hash = "sha256-uZBrIxnDSaJDOPcD7J4SCPr9nvecDDR9h+WnIjIP7IE=";
};
propagatedBuildInputs = [
libffi
pyasn1
clint
ndg-httpsclient
protobuf
requests
args
matlink-gpapi
pyaxmlparser
setuptools
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "gplaycli" ];
preCheck = ''
export PATH="$PATH:$out/bin";
'';
disabledTests = [
"test_alter_token"
"test_another_device"
"test_connection_credentials"
"test_connection_token"
"test_download_additional_files"
"test_download_focus"
"test_download_version"
"test_download"
"test_search"
"test_update"
];
meta = with lib; {
description = "Google Play Downloader via Command line";
mainProgram = "gplaycli";
homepage = "https://github.com/matlink/gplaycli";
changelog = "https://github.com/matlink/gplaycli/releases/tag/${version}";
license = licenses.agpl3Plus;
maintainers = [ ];
};
}