nixpkgs/pkgs/development/python-modules/packaging/default.nix
Frederik Rietdijk 1adc69d4aa python3Packages.packaging: remove checkPhase
because we already have a hook that takes care of it. Note tests were
disabled because of a circular test dependency.
2021-03-13 10:15:12 +01:00

42 lines
748 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pyparsing
, six
, pytestCheckHook
, pretend
, setuptools
}:
buildPythonPackage rec {
pname = "packaging";
version = "20.8";
format = "pyproject";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-eFmBhacAikcNZFJqgFnemqpEkjjygPyetrE7psQQkJM=";
};
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 ];
};
}