Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 510 B view raw
1{ stdenv, buildPythonPackage, fetchPypi, pytest, pytestrunner }: 2 3buildPythonPackage rec { 4 pname = "mccabe"; 5 version = "0.6.1"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "07w3p1qm44hgxf3vvwz84kswpsx6s7kvaibzrsx5dzm0hli1i3fx"; 10 }; 11 12 buildInputs = [ pytest pytestrunner ]; 13 14 meta = with stdenv.lib; { 15 description = "McCabe checker, plugin for flake8"; 16 homepage = "https://github.com/flintwork/mccabe"; 17 license = licenses.mit; 18 maintainers = with maintainers; [ ]; 19 }; 20}