a0cb138ada
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
36 lines
597 B
Nix
36 lines
597 B
Nix
{ buildPythonPackage
|
|
, fetchFromGitHub
|
|
, lib
|
|
|
|
# pythonPackages
|
|
, pytest
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "names";
|
|
version = "0.3.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "treyhunner";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "0jfn11bl05k3qkqw0f4vi2i2lhllxdrbb1732qiisdy9fbvv8611";
|
|
};
|
|
|
|
nativeCheckInputs = [
|
|
pytest
|
|
];
|
|
|
|
checkPhase = ''
|
|
pytest
|
|
'';
|
|
|
|
meta = {
|
|
description = "Generate random names";
|
|
homepage = "https://github.com/treyhunner/names";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [
|
|
kamadorueda
|
|
];
|
|
};
|
|
}
|