pythonPackages.names: init a 0.3.0

This commit is contained in:
Kevin Amado 2019-12-28 03:59:41 -05:00
parent 4f8eba122a
commit 8f08c1baee
No known key found for this signature in database
GPG key ID: 04D0CEAF916A9A40
2 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,36 @@
{ buildPythonPackage
, fetchFromGitHub
, lib
# pythonPackages
, pytest
}:
buildPythonPackage rec {
pname = "names";
version = "0.3.0";
src = fetchFromGitHub {
owner = "treyhunner";
repo = pname;
rev = version;
sha256 = "0jfn11bl05k3qkqw0f4vi2i2lhllxdrbb1732qiisdy9fbvv8611";
};
checkInputs = [
pytest
];
checkPhase = ''
pytest
'';
meta = {
description = "Generate random names";
homepage = "https://github.com/treyhunner/names";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
kamadorueda
];
};
}

View file

@ -4196,6 +4196,8 @@ in {
nameparser = callPackage ../development/python-modules/nameparser { };
names = callPackage ../development/python-modules/names { };
nbconvert = callPackage ../development/python-modules/nbconvert { };
nbformat = callPackage ../development/python-modules/nbformat { };