nixpkgs/pkgs/development/python-modules/hdfs/default.nix
R. RyanTM 451ae26ed2
python310Packages.hdfs: 2.5.8 -> 2.7.2 (#251851)
* python310Packages.hdfs: 2.5.8 -> 2.7.2

* python310Packages.hdfs: add changelog to meta

* python310Packages.hdfs: remove obsolete comment

---------

Co-authored-by: Fabian Affolter <mail@fabian-affolter.ch>
Co-authored-by: Weijia Wang <9713184+wegank@users.noreply.github.com>
2023-08-31 23:06:35 +02:00

37 lines
786 B
Nix

{ buildPythonPackage
, docopt
, fastavro
, fetchFromGitHub
, lib
, nose
, pytestCheckHook
, requests
, six
}:
buildPythonPackage rec {
pname = "hdfs";
version = "2.7.2";
src = fetchFromGitHub {
owner = "mtth";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-KXJDQEc4+T9r8sB41SOgcx8Gth3qAOZceoOpsLbJ+ak=";
};
propagatedBuildInputs = [ docopt requests six ];
nativeCheckInputs = [ fastavro nose pytestCheckHook ];
pythonImportsCheck = [ "hdfs" ];
meta = with lib; {
description = "Python API and command line interface for HDFS";
homepage = "https://github.com/mtth/hdfs";
changelog = "https://github.com/mtth/hdfs/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ samuela ];
};
}