nixpkgs/pkgs/development/tools/bashate/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

46 lines
779 B
Nix
Raw Normal View History

2021-03-27 16:40:29 +00:00
{ lib
, babel
2021-03-27 16:40:29 +00:00
, buildPythonApplication
, fetchPypi
, fixtures
, mock
, pbr
, pytestCheckHook
, pythonOlder
, setuptools
, testtools
2021-03-27 16:40:29 +00:00
}:
buildPythonApplication rec {
pname = "bashate";
2022-10-06 12:17:25 +00:00
version = "2.1.1";
2021-03-27 16:40:29 +00:00
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
2022-10-06 12:17:25 +00:00
sha256 = "sha256-S6tul3+DBacgU1+Pk/H7QsUh/LxKbCs9PXZx9C8iH0w=";
2021-03-27 16:40:29 +00:00
};
propagatedBuildInputs = [
babel
2021-03-27 16:40:29 +00:00
pbr
setuptools
];
nativeCheckInputs = [
2021-03-27 16:40:29 +00:00
fixtures
mock
pytestCheckHook
testtools
2021-03-27 16:40:29 +00:00
];
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 ];
};
}