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
38
pkgs/development/python-modules/brotlipy/default.nix
Normal file
38
pkgs/development/python-modules/brotlipy/default.nix
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, cffi
|
||||
, enum34
|
||||
, construct
|
||||
, pytest
|
||||
, hypothesis
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "brotlipy";
|
||||
version = "0.7.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "36def0b859beaf21910157b4c33eb3b06d8ce459c942102f16988cca6ea164df";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ cffi enum34 construct ];
|
||||
|
||||
propagatedNativeBuildInputs = [ cffi ];
|
||||
|
||||
checkInputs = [ pytest hypothesis ];
|
||||
|
||||
checkPhase = ''
|
||||
py.test
|
||||
'';
|
||||
|
||||
# Missing test files
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Python bindings for the reference Brotli encoder/decoder";
|
||||
homepage = "https://github.com/python-hyper/brotlipy/";
|
||||
license = lib.licenses.mit;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue