Merge pull request #137713 from samuela/samuela/hdfs

This commit is contained in:
Sandro
2021-11-17 02:43:31 +01:00
committed by GitHub
2 changed files with 38 additions and 0 deletions
@@ -0,0 +1,36 @@
{ buildPythonPackage
, docopt
, fastavro
, fetchFromGitHub
, lib
, nose
, pytestCheckHook
, requests
, six
}:
buildPythonPackage rec {
pname = "hdfs";
# See https://github.com/mtth/hdfs/issues/176.
version = "2.5.8";
src = fetchFromGitHub {
owner = "mtth";
repo = pname;
rev = version;
hash = "sha256-94Q3IUoX1Cb+uRqvsfpVZJ1koJSx5cQ3/XpYJ0gkQNU=";
};
propagatedBuildInputs = [ docopt requests six ];
checkInputs = [ fastavro nose pytestCheckHook ];
pythonImportsCheck = [ "hdfs" ];
meta = with lib; {
description = "Python API and command line interface for HDFS";
homepage = "https://github.com/mtth/hdfs";
license = licenses.mit;
maintainers = with maintainers; [ samuela ];
};
}
+2
View File
@@ -3470,6 +3470,8 @@ in {
hdbscan = callPackage ../development/python-modules/hdbscan { };
hdfs = callPackage ../development/python-modules/hdfs { };
hdlparse = callPackage ../development/python-modules/hdlparse { };
hdmedians = callPackage ../development/python-modules/hdmedians { };