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
40
pkgs/development/python-modules/dodgy/default.nix
Normal file
40
pkgs/development/python-modules/dodgy/default.nix
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
{ buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, isPy3k
|
||||
, lib
|
||||
|
||||
# pythonPackages
|
||||
, mock
|
||||
, nose
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dodgy";
|
||||
version = "0.2.1";
|
||||
disabled = !isPy3k;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "landscapeio";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0ywwjpz0p6ls3hp1lndjr9ql6s5lkj7dgpll1h87w04kwan70j0x";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
mock
|
||||
nose
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
nosetests tests/test_checks.py
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Looks at Python code to search for things which look \"dodgy\" such as passwords or diffs";
|
||||
homepage = "https://github.com/landscapeio/dodgy";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [
|
||||
kamadorueda
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue