pythonPackages.internetarchive: 1.9.0 -> 1.9.3

This commit is contained in:
Mario Rodas 2020-05-07 04:20:00 -05:00 committed by Jon
parent afbab5a3f3
commit 8c1a2c154d

View File

@ -1,22 +1,37 @@
{ buildPythonPackage, fetchFromGitHub, pytest, six, clint, pyyaml, docopt
, requests, jsonpatch, args, schema, responses, backports_csv, isPy3k
, lib, glibcLocales, setuptools }:
{ buildPythonPackage
, fetchFromGitHub
, pytest
, six
, tqdm
, pyyaml
, docopt
, requests
, jsonpatch
, args
, schema
, responses
, backports_csv
, isPy3k
, lib
, glibcLocales
, setuptools
}:
buildPythonPackage rec {
pname = "internetarchive";
version = "1.9.0";
version = "1.9.3";
# Can't use pypi, data files for tests missing
src = fetchFromGitHub {
owner = "jjjake";
repo = "internetarchive";
rev = "v${version}";
sha256 = "1h344c04ipzld4s7xk8d84f80samjjlgzvv3y8zsv0n1c895gymb";
sha256 = "19av6cpps2qldfl3wb9mcirs1a48a4466m1v9k9yhdznqi4zb0ji";
};
propagatedBuildInputs = [
six
clint
tqdm
pyyaml
docopt
requests
@ -24,8 +39,7 @@ buildPythonPackage rec {
args
schema
setuptools
backports_csv
];
] ++ lib.optionals (!isPy3k) [ backports_csv ];
checkInputs = [ pytest responses glibcLocales ];
@ -37,7 +51,7 @@ buildPythonPackage rec {
'';
meta = with lib; {
description = "A python wrapper for the various Internet Archive APIs";
description = "A Python and Command-Line Interface to Archive.org";
homepage = "https://github.com/jjjake/internetarchive";
license = licenses.agpl3;
};