a0cb138ada
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
43 lines
753 B
Nix
43 lines
753 B
Nix
{ lib
|
|
, babel
|
|
, buildPythonApplication
|
|
, fetchPypi
|
|
, fixtures
|
|
, mock
|
|
, pbr
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
, setuptools
|
|
}:
|
|
|
|
buildPythonApplication rec {
|
|
pname = "bashate";
|
|
version = "2.1.1";
|
|
disabled = pythonOlder "3.5";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-S6tul3+DBacgU1+Pk/H7QsUh/LxKbCs9PXZx9C8iH0w=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
babel
|
|
pbr
|
|
setuptools
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
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 ];
|
|
};
|
|
}
|