mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-10-20 20:53:19 +02:00
a17eb40fac
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.7-parse_type/versions
30 lines
718 B
Nix
30 lines
718 B
Nix
{ stdenv, fetchPypi
|
|
, buildPythonPackage, pythonOlder
|
|
, pytest, pytestrunner
|
|
, parse, six, enum34
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "parse_type";
|
|
version = "0.5.2";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "02wclgiqky06y36b3q07b7ngpks5j0gmgl6n71ac2j2hscc0nsbz";
|
|
};
|
|
|
|
checkInputs = [ pytest pytestrunner ];
|
|
propagatedBuildInputs = [ parse six ] ++ stdenv.lib.optional (pythonOlder "3.4") enum34;
|
|
|
|
checkPhase = ''
|
|
py.test tests
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://github.com/jenisys/parse_type;
|
|
description = "Simplifies to build parse types based on the parse module";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ alunduil ];
|
|
};
|
|
}
|