1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-15 00:54:46 +00:00
nixpkgs/pkgs/development/python-modules/names/default.nix
2020-01-03 17:56:41 -05:00

37 lines
591 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";
};
checkInputs = [
pytest
];
checkPhase = ''
pytest
'';
meta = {
description = "Generate random names";
homepage = "https://github.com/treyhunner/names";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
kamadorueda
];
};
}