3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/plac/default.nix
R. RyanTM 5e0663493f python37Packages.plac: 1.0.0 -> 1.1.0
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-plac/versions
2019-10-24 08:49:24 +02:00

27 lines
576 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, python
}:
buildPythonPackage rec {
pname = "plac";
version = "1.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "10f0blwxn7k2qvd0vs4300jxb8n9r7jhngf9bx9bfxia8akwy5kw";
};
checkPhase = ''
cd doc
${python.interpreter} -m unittest discover -p "*test_plac*"
'';
meta = with stdenv.lib; {
description = "Parsing the Command Line the Easy Way";
homepage = https://github.com/micheles/plac;
license = licenses.bsdOriginal;
maintainers = with maintainers; [ sdll ];
};
}