mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
451ae26ed2
* 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>
37 lines
786 B
Nix
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 ];
|
|
};
|
|
}
|