pythonPackages.snakebite: init at 2.11.0

This commit is contained in:
Chris Ostrouchov 2019-07-22 09:40:06 -04:00 committed by Ariel
parent d758b24e80
commit effe7f8a09
2 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,41 @@
{ lib
, buildPythonPackage
, fetchPypi
, tox
, virtualenv
, protobuf
}:
buildPythonPackage rec {
pname = "snakebite";
version = "2.11.0";
src = fetchPypi {
inherit pname version;
sha256 = "085238b4944cb9c658ee62d5794de936ac3d0c337c504b2cc86424a205ae978a";
};
checkInputs = [
tox
virtualenv
];
propagatedBuildInputs = [
protobuf
];
postPatch = ''
substituteInPlace setup.py \
--replace "'argparse'" ""
'';
# tests require hadoop hdfs
doCheck = false;
meta = with lib; {
description = "Pure Python HDFS client";
homepage = http://github.com/spotify/snakebite;
license = licenses.asl20;
maintainers = [ maintainers.costrouc ];
};
}

View File

@ -5869,6 +5869,8 @@ in {
toposort = callPackage ../development/python-modules/toposort { };
snakebite = callPackage ../development/python-modules/snakebite { };
snapperGUI = callPackage ../development/python-modules/snappergui { };
dm-sonnet = callPackage ../development/python-modules/dm-sonnet { };