mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
pythonPackages.internetarchive: 1.9.0 -> 1.9.3
This commit is contained in:
parent
afbab5a3f3
commit
8c1a2c154d
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user