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
61
pkgs/development/python-modules/dash/default.nix
Normal file
61
pkgs/development/python-modules/dash/default.nix
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, plotly
|
||||
, flask
|
||||
, flask-compress
|
||||
, dash-core-components
|
||||
, dash-html-components
|
||||
, dash-table
|
||||
, pytest-mock
|
||||
, mock
|
||||
, pyyaml
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dash";
|
||||
version = "2.4.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "plotly";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
sha256 = "sha256-7B1LEcEgUGJ/gDCDD4oURqli8I5YTJo9jl7l4E1aLVQ=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
plotly
|
||||
flask
|
||||
flask-compress
|
||||
dash-core-components
|
||||
dash-html-components
|
||||
dash-table
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
pytest-mock
|
||||
mock
|
||||
pyyaml
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
"tests/unit/test_browser.py"
|
||||
"tests/unit/test_app_runners.py" # Use selenium
|
||||
"tests/integration"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "dash" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python framework for building analytical web applications";
|
||||
homepage = "https://dash.plot.ly/";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.antoinerg ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue