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
46
pkgs/development/python-modules/flametree/default.nix
Normal file
46
pkgs/development/python-modules/flametree/default.nix
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, fontconfig
|
||||
, matplotlib
|
||||
, pandas
|
||||
, pytestCheckHook
|
||||
, weasyprint
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "flametree";
|
||||
version = "0.1.12";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Edinburgh-Genome-Foundry";
|
||||
repo = "Flametree";
|
||||
rev = "refs/tags/v${version}";
|
||||
sha256 = "sha256-oyiuhsYouGDKRssKc0aYIoG32H7GS6Bn4RtI7/9N158=";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
matplotlib
|
||||
pandas
|
||||
pytestCheckHook
|
||||
weasyprint
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
export FONTCONFIG_FILE=${fontconfig.out}/etc/fonts/fonts.conf
|
||||
'';
|
||||
|
||||
disabledTests = [
|
||||
# AssertionError, https://github.com/Edinburgh-Genome-Foundry/Flametree/issues/9
|
||||
"test_weasyprint"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "flametree" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python file and zip operations made easy";
|
||||
homepage = "https://github.com/Edinburgh-Genome-Foundry/Flametree";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ prusnak ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue