mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-17 02:19:30 +03:00
python3Packages.detect-secrets: transform to buildPythonPackage (#134892)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
e26d07afb3
commit
b0450b3978
@ -1,5 +1,5 @@
|
||||
{ lib
|
||||
, buildPythonApplication
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, gibberish-detector
|
||||
, isPy27
|
||||
@ -12,7 +12,7 @@
|
||||
, unidiff
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
buildPythonPackage rec {
|
||||
pname = "detect-secrets";
|
||||
version = "1.1.0";
|
||||
disabled = isPy27;
|
||||
@ -70,6 +70,6 @@ buildPythonApplication rec {
|
||||
description = "An enterprise friendly way of detecting and preventing secrets in code";
|
||||
homepage = "https://github.com/Yelp/detect-secrets";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.marsam ];
|
||||
maintainers = with maintainers; [ marsam ];
|
||||
};
|
||||
}
|
@ -1476,7 +1476,7 @@ with pkgs;
|
||||
|
||||
deskew = callPackage ../applications/graphics/deskew { };
|
||||
|
||||
detect-secrets = python3Packages.callPackage ../development/tools/detect-secrets { };
|
||||
detect-secrets = with python3Packages; toPythonApplication detect-secrets;
|
||||
|
||||
dfmt = callPackage ../tools/text/dfmt { };
|
||||
|
||||
|
@ -1930,6 +1930,8 @@ in {
|
||||
|
||||
desktop-notifier = callPackage ../development/python-modules/desktop-notifier { };
|
||||
|
||||
detect-secrets = callPackage ../development/python-modules/detect-secrets { };
|
||||
|
||||
devolo-home-control-api = callPackage ../development/python-modules/devolo-home-control-api { };
|
||||
|
||||
devpi-common = callPackage ../development/python-modules/devpi-common { };
|
||||
|
Loading…
Reference in New Issue
Block a user