evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / names / default.nix
blobc4648e171a7282dbba8d4129e9bc61b57d1ea9f2
2   buildPythonPackage,
3   fetchFromGitHub,
4   lib,
6   # pythonPackages
7   pytest,
8 }:
10 buildPythonPackage rec {
11   pname = "names";
12   version = "0.3.0";
13   format = "setuptools";
15   src = fetchFromGitHub {
16     owner = "treyhunner";
17     repo = pname;
18     rev = version;
19     sha256 = "0jfn11bl05k3qkqw0f4vi2i2lhllxdrbb1732qiisdy9fbvv8611";
20   };
22   nativeCheckInputs = [ pytest ];
24   checkPhase = ''
25     pytest
26   '';
28   meta = {
29     description = "Generate random names";
30     mainProgram = "names";
31     homepage = "https://github.com/treyhunner/names";
32     license = lib.licenses.mit;
33     maintainers = with lib.maintainers; [ kamadorueda ];
34   };