mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 22:32:58 +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
|
{ buildPythonPackage
|
||||||
, requests, jsonpatch, args, schema, responses, backports_csv, isPy3k
|
, fetchFromGitHub
|
||||||
, lib, glibcLocales, setuptools }:
|
, pytest
|
||||||
|
, six
|
||||||
|
, tqdm
|
||||||
|
, pyyaml
|
||||||
|
, docopt
|
||||||
|
, requests
|
||||||
|
, jsonpatch
|
||||||
|
, args
|
||||||
|
, schema
|
||||||
|
, responses
|
||||||
|
, backports_csv
|
||||||
|
, isPy3k
|
||||||
|
, lib
|
||||||
|
, glibcLocales
|
||||||
|
, setuptools
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "internetarchive";
|
pname = "internetarchive";
|
||||||
version = "1.9.0";
|
version = "1.9.3";
|
||||||
|
|
||||||
# Can't use pypi, data files for tests missing
|
# Can't use pypi, data files for tests missing
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "jjjake";
|
owner = "jjjake";
|
||||||
repo = "internetarchive";
|
repo = "internetarchive";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1h344c04ipzld4s7xk8d84f80samjjlgzvv3y8zsv0n1c895gymb";
|
sha256 = "19av6cpps2qldfl3wb9mcirs1a48a4466m1v9k9yhdznqi4zb0ji";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
six
|
six
|
||||||
clint
|
tqdm
|
||||||
pyyaml
|
pyyaml
|
||||||
docopt
|
docopt
|
||||||
requests
|
requests
|
||||||
@ -24,8 +39,7 @@ buildPythonPackage rec {
|
|||||||
args
|
args
|
||||||
schema
|
schema
|
||||||
setuptools
|
setuptools
|
||||||
backports_csv
|
] ++ lib.optionals (!isPy3k) [ backports_csv ];
|
||||||
];
|
|
||||||
|
|
||||||
checkInputs = [ pytest responses glibcLocales ];
|
checkInputs = [ pytest responses glibcLocales ];
|
||||||
|
|
||||||
@ -37,7 +51,7 @@ buildPythonPackage rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
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";
|
homepage = "https://github.com/jjjake/internetarchive";
|
||||||
license = licenses.agpl3;
|
license = licenses.agpl3;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user