Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.11 43 lines 760 B view raw
1{ lib 2, Babel 3, buildPythonApplication 4, fetchPypi 5, fixtures 6, mock 7, pbr 8, pytestCheckHook 9, pythonOlder 10, setuptools 11}: 12 13buildPythonApplication rec { 14 pname = "bashate"; 15 version = "2.1.0"; 16 disabled = pythonOlder "3.5"; 17 18 src = fetchPypi { 19 inherit pname version; 20 sha256 = "a0df143639715dc2fb6cf9aa6907e4a372d6f0a43afeffc55c5fb3ecfe3523c8"; 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}