mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
bashate: move to by-name, cleanup, fix (#442283)
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
fetchPypi,
|
||||
python3Packages,
|
||||
versionCheckHook,
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
@@ -9,8 +10,6 @@ python3Packages.buildPythonApplication rec {
|
||||
version = "2.1.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = python3Packages.pythonOlder "3.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-S6tul3+DBacgU1+Pk/H7QsUh/LxKbCs9PXZx9C8iH0w=";
|
||||
@@ -21,7 +20,6 @@ python3Packages.buildPythonApplication rec {
|
||||
dependencies = with python3Packages; [
|
||||
babel
|
||||
pbr
|
||||
setuptools
|
||||
];
|
||||
|
||||
nativeCheckInputs = with python3Packages; [
|
||||
@@ -39,12 +37,12 @@ python3Packages.buildPythonApplication rec {
|
||||
|
||||
pythonImportsCheck = [ "bashate" ];
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Style enforcement for bash programs";
|
||||
mainProgram = "bashate";
|
||||
homepage = "https://opendev.org/openstack/bashate";
|
||||
license = with licenses; [ asl20 ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
teams = [ teams.openstack ];
|
||||
license = with lib.licenses; [ asl20 ];
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
teams = [ lib.teams.openstack ];
|
||||
};
|
||||
}
|
||||
@@ -1612,10 +1612,6 @@ with pkgs;
|
||||
httpServer = true;
|
||||
};
|
||||
|
||||
bashate = python3Packages.callPackage ../development/tools/bashate {
|
||||
python3Packages = python311Packages;
|
||||
};
|
||||
|
||||
inherit (callPackages ../tools/security/bitwarden-directory-connector { })
|
||||
bitwarden-directory-connector-cli
|
||||
bitwarden-directory-connector
|
||||
|
||||
Reference in New Issue
Block a user