nixpkgs/pkgs/development/python-modules/mccabe/default.nix
Silvan Mosberger f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00

22 lines
547 B
Nix

{ stdenv, buildPythonPackage, fetchPypi, pytest, pytestrunner }:
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "mccabe";
version = "0.6.1";
src = fetchPypi {
inherit pname version;
sha256 = "07w3p1qm44hgxf3vvwz84kswpsx6s7kvaibzrsx5dzm0hli1i3fx";
};
buildInputs = [ pytest pytestrunner ];
meta = with stdenv.lib; {
description = "McCabe checker, plugin for flake8";
homepage = https://github.com/flintwork/mccabe;
license = licenses.mit;
maintainers = with maintainers; [ garbas ];
};
}