bashate: init at 2.0.0 (#117469)

This commit is contained in:
Fabian Affolter 2021-03-27 17:40:29 +01:00 committed by GitHub
parent 1cee9c24aa
commit f615c23325
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 45 additions and 0 deletions

View file

@ -0,0 +1,43 @@
{ lib
, Babel
, buildPythonApplication
, fetchPypi
, fixtures
, mock
, pbr
, pytestCheckHook
, pythonOlder
, setuptools
}:
buildPythonApplication rec {
pname = "bashate";
version = "2.0.0";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "05qsaaqfpvr6h4g19prbkpznwb9a4dwzyzivdzh9x80cgkq0r6gb";
};
propagatedBuildInputs = [
Babel
pbr
setuptools
];
checkInputs = [
fixtures
mock
pytestCheckHook
];
pythonImportsCheck = [ "bashate" ];
meta = with lib; {
description = "Style enforcement for bash programs";
homepage = "https://opendev.org/openstack/bashate";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -1134,6 +1134,8 @@ in
barman = python3Packages.callPackage ../tools/misc/barman { };
bashate = python3Packages.callPackage ../development/tools/bashate { };
bash-my-aws = callPackage ../tools/admin/bash-my-aws { };
bashcards = callPackage ../tools/misc/bashcards { };