at 22.05-pre 740 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 # See https://github.com/mtth/hdfs/issues/176. 15 version = "2.5.8"; 16 17 src = fetchFromGitHub { 18 owner = "mtth"; 19 repo = pname; 20 rev = version; 21 hash = "sha256-94Q3IUoX1Cb+uRqvsfpVZJ1koJSx5cQ3/XpYJ0gkQNU="; 22 }; 23 24 propagatedBuildInputs = [ docopt requests six ]; 25 26 checkInputs = [ fastavro nose pytestCheckHook ]; 27 28 pythonImportsCheck = [ "hdfs" ]; 29 30 meta = with lib; { 31 description = "Python API and command line interface for HDFS"; 32 homepage = "https://github.com/mtth/hdfs"; 33 license = licenses.mit; 34 maintainers = with maintainers; [ samuela ]; 35 }; 36}