Merge pull request #166483 from r-ryantm/auto-update/python310Packages.plac

python310Packages.plac: 1.3.4 -> 1.3.5
This commit is contained in:
Fabian Affolter 2022-03-31 10:23:55 +02:00 committed by GitHub
commit 7b376d919c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,14 +2,19 @@
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, python , python
, pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "plac"; pname = "plac";
version = "1.3.4"; version = "1.3.5";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "c91a4c9f9cc67c7e7213b6823b0ea15cd0afe5eaf8f8dda1fe5cb10192b137f5"; hash = "sha256-OL3YZNBFD7dIGTqoF7nEWKj1MZ+/l7ImEVHPwKWBIJA=";
}; };
checkPhase = '' checkPhase = ''
@ -17,6 +22,10 @@ buildPythonPackage rec {
${python.interpreter} -m unittest discover -p "*test_plac*" ${python.interpreter} -m unittest discover -p "*test_plac*"
''; '';
pythonImportsCheck = [
"plac"
];
meta = with lib; { meta = with lib; {
description = "Parsing the Command Line the Easy Way"; description = "Parsing the Command Line the Easy Way";
homepage = "https://github.com/micheles/plac"; homepage = "https://github.com/micheles/plac";