From e4218a22a648a44dd02683d53fb605d1d54b9736 Mon Sep 17 00:00:00 2001 From: Robin Gloster Date: Mon, 25 Mar 2019 12:49:22 +0100 Subject: [PATCH] django-picklefield: fix build fixes #60424 --- .../python-modules/django-picklefield/default.nix | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/django-picklefield/default.nix b/pkgs/development/python-modules/django-picklefield/default.nix index 683c0bc0cebc..4bcd767bd63d 100644 --- a/pkgs/development/python-modules/django-picklefield/default.nix +++ b/pkgs/development/python-modules/django-picklefield/default.nix @@ -1,17 +1,19 @@ -{ lib, buildPythonPackage, fetchPypi }: +{ lib, buildPythonPackage, fetchPypi, django }: buildPythonPackage rec { pname = "django-picklefield"; version = "2.0"; + src = fetchPypi { + inherit pname version; + sha256 = "f1733a8db1b6046c0d7d738e785f9875aa3c198215de11993463a9339aa4ea24"; + }; + + propagatedBuildInputs = [ django ]; + meta = { description = "A pickled object field for Django"; homepage = https://github.com/gintas/django-picklefield; license = lib.licenses.mit; }; - - src = fetchPypi { - inherit pname version; - sha256 = "f1733a8db1b6046c0d7d738e785f9875aa3c198215de11993463a9339aa4ea24"; - }; }