2016-10-22 20:50:59 +01:00
|
|
|
{ stdenv, fetchFromGitHub, python2Packages }:
|
|
|
|
|
|
|
|
python2Packages.buildPythonApplication rec {
|
2019-08-31 12:41:23 +01:00
|
|
|
pname = "amazon-glacier-cmd-interface";
|
2016-10-22 20:50:59 +01:00
|
|
|
version = "2016-09-01";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "uskudnik";
|
|
|
|
repo = "amazon-glacier-cmd-interface";
|
|
|
|
rev = "9f28132f9872e1aad9e956e5613b976504e930c8";
|
|
|
|
sha256 = "1k5z8kda9v6klr4536pf5qbq9zklxvyysv7nc48gllschl09jywc";
|
|
|
|
};
|
|
|
|
|
2017-06-18 10:27:13 +01:00
|
|
|
# argparse is part of the standardlib
|
|
|
|
prePatch = ''
|
|
|
|
substituteInPlace setup.py --replace "'argparse'," ""
|
|
|
|
'';
|
|
|
|
|
2016-10-22 20:50:59 +01:00
|
|
|
propagatedBuildInputs = with python2Packages; [
|
|
|
|
boto
|
|
|
|
dateutil
|
|
|
|
prettytable
|
|
|
|
pytz
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Command line interface for Amazon Glacier";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/uskudnik/amazon-glacier-cmd-interface";
|
2016-10-22 20:50:59 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.lovek323 ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|