uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
36
pkgs/development/python-modules/hdfs/default.nix
Normal file
36
pkgs/development/python-modules/hdfs/default.nix
Normal file
|
|
@ -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 ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue