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
36
pkgs/development/python-modules/scp/default.nix
Normal file
36
pkgs/development/python-modules/scp/default.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, paramiko
|
||||
, python
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "scp";
|
||||
version = "0.14.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-VGmbkstorjS1koxIqIjquXIqISUCy6iap5W9Vll1Bb0=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
paramiko
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
SCPPY_PORT=10022 ${python.interpreter} test.py
|
||||
'';
|
||||
|
||||
#The Pypi package doesn't include the test
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "scp" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/jbardin/scp.py";
|
||||
description = "SCP module for paramiko";
|
||||
license = licenses.lgpl21Only;
|
||||
maintainers = with maintainers; [ xnaveira ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue