1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-24 19:08:30 +00:00
nixpkgs/pkgs/development/python-modules/fake_factory/default.nix

34 lines
704 B
Nix
Raw Normal View History

{ stdenv
, buildPythonPackage
, fetchPypi
, python
, six
, dateutil
, ipaddress
, mock
}:
buildPythonPackage rec {
pname = "fake-factory";
version = "0.6.0";
src = fetchPypi {
inherit pname version;
sha256 = "09sgk0kylsshs64a1xsz3qr187sbnqrbf4z8k3dgsy32lsgyffv2";
};
propagatedBuildInputs = [ six dateutil ipaddress mock ];
checkPhase = ''
${python.interpreter} -m unittest faker.tests
'';
meta = with stdenv.lib; {
description = "A Python package that generates fake data for you";
homepage = https://pypi.python.org/pypi/fake-factory;
license = licenses.mit;
maintainers = with maintainers; [ lovek323 ];
platforms = platforms.unix;
};
}