at 24.05-pre 786 B view raw
1{ buildPythonPackage 2, docopt 3, fastavro 4, fetchFromGitHub 5, lib 6, nose 7, pytestCheckHook 8, requests 9, six 10}: 11 12buildPythonPackage rec { 13 pname = "hdfs"; 14 version = "2.7.3"; 15 16 src = fetchFromGitHub { 17 owner = "mtth"; 18 repo = pname; 19 rev = "refs/tags/v${version}"; 20 hash = "sha256-Pm2E8hB0wbu7npi/sLt9D8jQsH69qNOHLji9CYqST/8="; 21 }; 22 23 propagatedBuildInputs = [ docopt requests six ]; 24 25 nativeCheckInputs = [ fastavro nose pytestCheckHook ]; 26 27 pythonImportsCheck = [ "hdfs" ]; 28 29 meta = with lib; { 30 description = "Python API and command line interface for HDFS"; 31 homepage = "https://github.com/mtth/hdfs"; 32 changelog = "https://github.com/mtth/hdfs/releases/tag/v${version}"; 33 license = licenses.mit; 34 maintainers = with maintainers; [ samuela ]; 35 }; 36}