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
66
pkgs/development/python-modules/blockdiag/default.nix
Normal file
66
pkgs/development/python-modules/blockdiag/default.nix
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, docutils
|
||||
, fetchFromGitHub
|
||||
, funcparserlib
|
||||
, nose
|
||||
, pillow
|
||||
, ephem
|
||||
, pythonOlder
|
||||
, pytestCheckHook
|
||||
, reportlab
|
||||
, setuptools
|
||||
, webcolors
|
||||
, python
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "blockdiag";
|
||||
version = "3.0.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "blockdiag";
|
||||
repo = "blockdiag";
|
||||
rev = version;
|
||||
sha256 = "sha256-j8FoNUIJJOaahaol1MRPyY2jcPCEIlaAD4bmM2QKFFI=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
setuptools
|
||||
funcparserlib
|
||||
pillow
|
||||
webcolors
|
||||
reportlab
|
||||
docutils
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
ephem
|
||||
nose
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pytestFlagsArray = [
|
||||
"src/blockdiag/tests/"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# Test require network access
|
||||
"test_app_cleans_up_images"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"blockdiag"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Generate block-diagram image from spec-text file (similar to Graphviz)";
|
||||
homepage = "http://blockdiag.com/";
|
||||
license = licenses.asl20;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ bjornfor SuperSandro2000 ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue