pythonPackages.names: init a 0.3.0
This commit is contained in:
parent
4f8eba122a
commit
8f08c1baee
36
pkgs/development/python-modules/names/default.nix
Normal file
36
pkgs/development/python-modules/names/default.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue