1{ buildPythonPackage
2, fetchFromGitHub
3, lib
4
5# pythonPackages
6, pytest
7}:
8
9buildPythonPackage rec {
10 pname = "names";
11 version = "0.3.0";
12
13 src = fetchFromGitHub {
14 owner = "treyhunner";
15 repo = pname;
16 rev = version;
17 sha256 = "0jfn11bl05k3qkqw0f4vi2i2lhllxdrbb1732qiisdy9fbvv8611";
18 };
19
20 checkInputs = [
21 pytest
22 ];
23
24 checkPhase = ''
25 pytest
26 '';
27
28 meta = {
29 description = "Generate random names";
30 homepage = "https://github.com/treyhunner/names";
31 license = lib.licenses.mit;
32 maintainers = with lib.maintainers; [
33 kamadorueda
34 ];
35 };
36}