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
50
pkgs/development/python-modules/colorcet/default.nix
Normal file
50
pkgs/development/python-modules/colorcet/default.nix
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, param
|
||||
, pyct
|
||||
, pytest-mpl
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "colorcet";
|
||||
version = "3.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "21c522346a7aa81a603729f2996c22ac3f7822f4c8c303c59761e27d2dfcf3db";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
param
|
||||
pyct
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytest-mpl
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
export HOME=$(mktemp -d)
|
||||
mkdir -p $HOME/.config/matplotlib
|
||||
echo "backend: ps" > $HOME/.config/matplotlib/matplotlibrc
|
||||
ln -s $HOME/.config/matplotlib $HOME/.matplotlib
|
||||
'';
|
||||
|
||||
disabledTests = [
|
||||
"matplotlib_default_colormap_plot"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"colorcet"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Collection of perceptually uniform colormaps";
|
||||
homepage = "https://colorcet.pyviz.org";
|
||||
license = licenses.cc-by-40;
|
||||
maintainers = with maintainers; [ costrouc ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue