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
39
pkgs/applications/networking/flent/default.nix
Normal file
39
pkgs/applications/networking/flent/default.nix
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
{ lib, buildPythonApplication, fetchPypi, matplotlib, procps, pyqt5, python
|
||||
, pythonPackages, qt5, sphinx, xvfb-run }:
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "flent";
|
||||
version = "2.0.1";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "300a09938dc2b4a0463c9144626f25e0bd736fd47806a9444719fa024d671796";
|
||||
};
|
||||
|
||||
buildInputs = [ sphinx ];
|
||||
nativeBuildInputs = [ qt5.wrapQtAppsHook ];
|
||||
propagatedBuildInputs = [ matplotlib procps pyqt5 ];
|
||||
checkInputs = [ procps pythonPackages.mock pyqt5 xvfb-run ];
|
||||
|
||||
checkPhase = ''
|
||||
cat >test-runner <<EOF
|
||||
#!/bin/sh
|
||||
|
||||
${python.pythonForBuild.interpreter} nix_run_setup test
|
||||
EOF
|
||||
chmod +x test-runner
|
||||
wrapQtApp test-runner --prefix PYTHONPATH : $PYTHONPATH
|
||||
xvfb-run -s '-screen 0 800x600x24' ./test-runner
|
||||
'';
|
||||
|
||||
preFixup = ''
|
||||
makeWrapperArgs+=("''${qtWrapperArgs[@]}")
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "The FLExible Network Tester";
|
||||
homepage = "https://flent.org";
|
||||
license = licenses.gpl3;
|
||||
|
||||
maintainers = [ maintainers.mmlb ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue