Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: b5feb96cb577
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: f467c3e13a50
Choose a head ref
  • 1 commit
  • 3 files changed
  • 1 contributor

Commits on Jan 9, 2020

  1. pythonPackages.dodgy: init at 0.2.1

    kamadorueda authored and Jon committed Jan 9, 2020
    Copy the full SHA
    f467c3e View commit details
Showing with 44 additions and 0 deletions.
  1. +40 −0 pkgs/development/python-modules/dodgy/default.nix
  2. +2 −0 pkgs/top-level/all-packages.nix
  3. +2 −0 pkgs/top-level/python-packages.nix
40 changes: 40 additions & 0 deletions pkgs/development/python-modules/dodgy/default.nix
Original file line number Diff line number Diff line change
@@ -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
];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -15120,6 +15120,8 @@ in

do-agent = callPackage ../servers/monitoring/do-agent { };

dodgy = with python3Packages; toPythonApplication dodgy;

dovecot = callPackage ../servers/mail/dovecot { };
dovecot_pigeonhole = callPackage ../servers/mail/dovecot/plugins/pigeonhole { };

2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
@@ -1852,6 +1852,8 @@ in {

defusedxml = callPackage ../development/python-modules/defusedxml {};

dodgy = callPackage ../development/python-modules/dodgy { };

dugong = callPackage ../development/python-modules/dugong {};

easysnmp = callPackage ../development/python-modules/easysnmp {