From 1b30ac68f268e68451672fdaa6661e24a4d26d84 Mon Sep 17 00:00:00 2001 From: Eduardo Gomez Date: Mon, 16 May 2016 14:19:23 +0100 Subject: [PATCH] factoryboy: init at 2.6.1 --- pkgs/top-level/python-packages.nix | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index ddf28557480a..ae1116ab715c 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -5916,6 +5916,35 @@ in modules // { }; }; + fake_factory_0_5 = self.fake_factory.override rec { + name = "fake-factory-${version}"; + version = "0.5.7"; + src = pkgs.fetchurl { + url = "mirror://pypi/f/fake-factory/${name}.tar.gz"; + sha256 = "1chmarnrdzn4r017n8qlic0m0bbnhw04s3hkwribjvm3mqpb6pa0"; + }; + propagatedBuildInputs = with self; [ six dateutil ipaddress ]; + + # AttributeError: 'module' object has no attribute 'tests' + doCheck = false; + }; + + factory_boy = buildPythonPackage rec { + name = "factory_boy-${version}"; + version = "2.6.1"; + src = pkgs.fetchurl { + url = "mirror://pypi/f/factory_boy/${name}.tar.gz"; + sha256 = "0a21f8kq917fj8xgmyp6gy8vcrlzzgwn80qas0d76h3vjbdy0bdq"; + }; + propagatedBuildInputs = with self; [ six fake_factory_0_5 mock ]; + + meta = { + description = "A Python package to create factories for complex object"; + homepage = https://github.com/rbarrois/factory_boy; + license = licenses.mit; + }; + }; + Fabric = buildPythonPackage rec { name = "Fabric-${version}"; version = "1.10.2";