about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/mccabe/default.nix
blob: f20cb18b488521d699776134f9ff0e09e8f98bdf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ lib, buildPythonPackage, fetchPypi, pytest, pytest-runner }:

buildPythonPackage rec {
  pname = "mccabe";
  version = "0.6.1";

  src = fetchPypi {
    inherit pname version;
    sha256 = "07w3p1qm44hgxf3vvwz84kswpsx6s7kvaibzrsx5dzm0hli1i3fx";
  };

  buildInputs = [ pytest pytest-runner ];

  meta = with lib; {
    description = "McCabe checker, plugin for flake8";
    homepage = "https://github.com/flintwork/mccabe";
    license = licenses.mit;
    maintainers = with maintainers; [ ];
  };
}