Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / packaging / default.nix
blobd76b5b1723ef0ffaa8332fd9398b7fe74a725b03
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pyparsing
5 , six
6 , pytestCheckHook
7 , pretend
8 , setuptools
9 }:
11 buildPythonPackage rec {
12   pname = "packaging";
13   version = "20.9";
14   format = "pyproject";
16   src = fetchPypi {
17     inherit pname version;
18     sha256 = "sha256-WzJ6wTINyGPcpy9FFOzAhvMRhnRLhKIwN0zB/Xdv6uU=";
19   };
21   nativeBuildInputs = [
22     setuptools
23   ];
25   propagatedBuildInputs = [ pyparsing six ];
27   checkInputs = [
28     pytestCheckHook
29     pretend
30   ];
32   # Prevent circular dependency
33   doCheck = false;
35   meta = with lib; {
36     description = "Core utilities for Python packages";
37     homepage = "https://github.com/pypa/packaging";
38     license = [ licenses.bsd2 licenses.asl20 ];
39     maintainers = with maintainers; [ bennofs ];
40   };