depot/third_party/nixpkgs/pkgs/development/python-modules/packaging/default.nix
Default email 1a0302a145 Project import generated by Copybara.
GitOrigin-RevId: 311ceed827f531f88f46222920cd1ebb2c101f73
2021-04-12 20:23:04 +02:00

41 lines
748 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pyparsing
, six
, pytestCheckHook
, pretend
, setuptools
}:
buildPythonPackage rec {
pname = "packaging";
version = "20.9";
format = "pyproject";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-WzJ6wTINyGPcpy9FFOzAhvMRhnRLhKIwN0zB/Xdv6uU=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [ pyparsing six ];
checkInputs = [
pytestCheckHook
pretend
];
# Prevent circular dependency
doCheck = false;
meta = with lib; {
description = "Core utilities for Python packages";
homepage = "https://github.com/pypa/packaging";
license = [ licenses.bsd2 licenses.asl20 ];
maintainers = with maintainers; [ bennofs ];
};
}