From 74686d6c8ca46e6ef358c20301585d792c3e1127 Mon Sep 17 00:00:00 2001 From: Daiderd Jordan Date: Mon, 1 May 2017 23:39:29 +0200 Subject: [PATCH] python-dogpile-cache: fix darwin build and add missing test dependencies --- .../python-modules/dogpile.cache/default.nix | 10 +++++----- pkgs/top-level/python-packages.nix | 1 + 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/dogpile.cache/default.nix b/pkgs/development/python-modules/dogpile.cache/default.nix index 69363a8498e8..af8bd1a1d114 100644 --- a/pkgs/development/python-modules/dogpile.cache/default.nix +++ b/pkgs/development/python-modules/dogpile.cache/default.nix @@ -1,6 +1,6 @@ -{ stdenv, buildPythonPackage, fetchPypi, - dogpile_core, pytest - }: +{ stdenv, buildPythonPackage, fetchPypi +, dogpile_core, pytest, pytestcov, mock, Mako +}: buildPythonPackage rec { pname = "dogpile.cache"; @@ -13,12 +13,12 @@ buildPythonPackage rec { }; propagatedBuildInputs = [ dogpile_core ]; - buildInputs = [ pytest ]; + buildInputs = [ pytest pytestcov mock Mako ]; meta = with stdenv.lib; { description = "A caching front-end based on the Dogpile lock"; homepage = http://bitbucket.org/zzzeek/dogpile.cache; - platforms = platforms.linux; # Can only test linux + platforms = platforms.unix; license = licenses.bsd3; }; } diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 98e540374152..b764d5be48c0 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -14115,6 +14115,7 @@ in { description = "Super-fast templating language"; homepage = http://www.makotemplates.org; license = licenses.mit; + platforms = platforms.unix; maintainers = with maintainers; [ domenkozar ]; }; };