Unverified Commit 996b5556 authored by Jörg Thalheim's avatar Jörg Thalheim Committed by GitHub
Browse files

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

parents 220a672a a7f8ee0b
Loading
Loading
Loading
Loading
+5 −7
Original line number Diff line number Diff line
@@ -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 ];
  };
}
+0 −4
Original line number Diff line number Diff line
@@ -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