bashate: init at 2.0.0 (#117469)
This commit is contained in:
parent
1cee9c24aa
commit
f615c23325
|
@ -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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -1134,6 +1134,8 @@ in
|
||||||
|
|
||||||
barman = python3Packages.callPackage ../tools/misc/barman { };
|
barman = python3Packages.callPackage ../tools/misc/barman { };
|
||||||
|
|
||||||
|
bashate = python3Packages.callPackage ../development/tools/bashate { };
|
||||||
|
|
||||||
bash-my-aws = callPackage ../tools/admin/bash-my-aws { };
|
bash-my-aws = callPackage ../tools/admin/bash-my-aws { };
|
||||||
|
|
||||||
bashcards = callPackage ../tools/misc/bashcards { };
|
bashcards = callPackage ../tools/misc/bashcards { };
|
||||||
|
|
Loading…
Reference in New Issue