diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2021-03-27 17:40:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-27 17:40:29 +0100 |
commit | f615c23325e13a54ba18cdfabd1eaf7ace0b0741 (patch) | |
tree | 6b18a041651140a7c57b11671d2776e66370671e /pkgs/development/tools/bashate/default.nix | |
parent | 1cee9c24aa2c919c821fd408733f24003efabb4f (diff) | |
download | nixpkgs-f615c23325e13a54ba18cdfabd1eaf7ace0b0741.tar nixpkgs-f615c23325e13a54ba18cdfabd1eaf7ace0b0741.tar.gz nixpkgs-f615c23325e13a54ba18cdfabd1eaf7ace0b0741.tar.bz2 nixpkgs-f615c23325e13a54ba18cdfabd1eaf7ace0b0741.tar.lz nixpkgs-f615c23325e13a54ba18cdfabd1eaf7ace0b0741.tar.xz nixpkgs-f615c23325e13a54ba18cdfabd1eaf7ace0b0741.tar.zst nixpkgs-f615c23325e13a54ba18cdfabd1eaf7ace0b0741.zip |
bashate: init at 2.0.0 (#117469)
Diffstat (limited to 'pkgs/development/tools/bashate/default.nix')
-rw-r--r-- | pkgs/development/tools/bashate/default.nix | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/pkgs/development/tools/bashate/default.nix b/pkgs/development/tools/bashate/default.nix new file mode 100644 index 00000000000..cc5d3aca2c3 --- /dev/null +++ b/pkgs/development/tools/bashate/default.nix @@ -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 ]; + }; +} |