Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 23.11 45 lines 779 B view raw
1{ lib 2, babel 3, buildPythonApplication 4, fetchPypi 5, fixtures 6, mock 7, pbr 8, pytestCheckHook 9, pythonOlder 10, setuptools 11, testtools 12}: 13 14buildPythonApplication rec { 15 pname = "bashate"; 16 version = "2.1.1"; 17 disabled = pythonOlder "3.5"; 18 19 src = fetchPypi { 20 inherit pname version; 21 sha256 = "sha256-S6tul3+DBacgU1+Pk/H7QsUh/LxKbCs9PXZx9C8iH0w="; 22 }; 23 24 propagatedBuildInputs = [ 25 babel 26 pbr 27 setuptools 28 ]; 29 30 nativeCheckInputs = [ 31 fixtures 32 mock 33 pytestCheckHook 34 testtools 35 ]; 36 37 pythonImportsCheck = [ "bashate" ]; 38 39 meta = with lib; { 40 description = "Style enforcement for bash programs"; 41 homepage = "https://opendev.org/openstack/bashate"; 42 license = with licenses; [ asl20 ]; 43 maintainers = with maintainers; [ fab ]; 44 }; 45}