bashate: move to by-name, cleanup, fix (#442283)

This commit is contained in:
Jörg Thalheim
2025-09-12 07:18:14 +00:00
committed by GitHub
2 changed files with 5 additions and 11 deletions

View File

@@ -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 ];
};
}

View File

@@ -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