forked from mirrors/nixpkgs
pythonPackages.django-sampledatahelper: init at 0.4.1
This commit is contained in:
parent
48855344c4
commit
f69a072f5b
|
@ -0,0 +1,31 @@
|
|||
{ lib, buildPythonPackage, fetchPypi,
|
||||
django, nose, pillow, sampledata, six, versiontools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "django-sampledatahelper";
|
||||
name = "${pname}-${version}";
|
||||
version = "0.4.1";
|
||||
|
||||
meta = {
|
||||
description = "Helper class for generate sample data for django apps development";
|
||||
homepage = https://github.com/kaleidos/django-sampledatahelper;
|
||||
license = lib.licenses.bsd3;
|
||||
};
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1795zg73lajcsfyd8i8cprb2v93d4csifjnld6bfnya90ncsbl4n";
|
||||
};
|
||||
|
||||
buildInputs = [ django nose pillow sampledata six versiontools ];
|
||||
propagatedBuildInputs = [ django sampledata ];
|
||||
|
||||
# HACK To prevent collision with pythonPackages.sampledata
|
||||
preBuild = ''
|
||||
rm tests/*
|
||||
'';
|
||||
|
||||
# ERROR: test_image_from_directory (tests.tests.TestImageHelpers)
|
||||
doCheck = false;
|
||||
}
|
|
@ -8646,6 +8646,8 @@ in {
|
|||
|
||||
django_polymorphic = callPackage ../development/python-modules/django-polymorphic { };
|
||||
|
||||
django-sampledatahelper = callPackage ../development/python-modules/django-sampledatahelper { };
|
||||
|
||||
django_tagging = callPackage ../development/python-modules/django_tagging { };
|
||||
|
||||
django_tagging_0_3 = self.django_tagging.overrideAttrs (attrs: rec {
|
||||
|
|
Loading…
Reference in a new issue