mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
bashate: init at 2.0.0 (#117469)
This commit is contained in:
parent
1cee9c24aa
commit
f615c23325
2 changed files with 45 additions and 0 deletions
43
pkgs/development/tools/bashate/default.nix
Normal file
43
pkgs/development/tools/bashate/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue