1{ stdenv, buildPythonPackage, fetchPypi
2, pyparsing, six, pytest, pretend }:
3
4buildPythonPackage rec {
5 pname = "packaging";
6 version = "16.8";
7
8 src = fetchPypi {
9 inherit pname version;
10 sha256 = "5d50835fdf0a7edf0b55e311b7c887786504efea1177abd7e69329a8e5ea619e";
11 };
12
13 propagatedBuildInputs = [ pyparsing six ];
14
15 checkInputs = [ pytest pretend ];
16
17 checkPhase = ''
18 py.test tests
19 '';
20
21 meta = with stdenv.lib; {
22 description = "Core utilities for Python packages";
23 homepage = https://github.com/pypa/packaging;
24 license = [ licenses.bsd2 licenses.asl20 ];
25 maintainers = with maintainers; [ bennofs ];
26 };
27}