@@ -0,0 +1,43 @@
1+{ lib
2+, Babel
3+, buildPythonApplication
4+, fetchPypi
5+, fixtures
6+, mock
7+, pbr
8+, pytestCheckHook
9+, pythonOlder
10+, setuptools
11+}:
12+
13+buildPythonApplication rec {
14+ pname = "bashate";
15+ version = "2.0.0";
16+ disabled = pythonOlder "3.5";
17+
18+ src = fetchPypi {
19+ inherit pname version;
20+ sha256 = "05qsaaqfpvr6h4g19prbkpznwb9a4dwzyzivdzh9x80cgkq0r6gb";
21+ };
22+
23+ propagatedBuildInputs = [
24+ Babel
25+ pbr
26+ setuptools
27+ ];
28+
29+ checkInputs = [
30+ fixtures
31+ mock
32+ pytestCheckHook
33+ ];
34+
35+ pythonImportsCheck = [ "bashate" ];
36+
37+ meta = with lib; {
38+ description = "Style enforcement for bash programs";
39+ homepage = "https://opendev.org/openstack/bashate";
40+ license = with licenses; [ asl20 ];
41+ maintainers = with maintainers; [ fab ];
42+ };
43+}