From 5f488a16ffa40171e7b3e5526e986504a8fc0014 Mon Sep 17 00:00:00 2001 From: "Nicolas B. Pierron" Date: Mon, 8 Dec 2014 21:07:46 +0100 Subject: [PATCH] Add tokenserver 1.2.11 --- pkgs/top-level/python-packages.nix | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 2c37db40ea69..6ded9f433708 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -11184,6 +11184,28 @@ let doCheck = false; }; + tokenserver = buildPythonPackage rec { + name = "tokenserver-${version}"; + version = "1.2.11"; + + src = pkgs.fetchgit { + url = https://github.com/mozilla-services/tokenserver.git; + rev = "refs/tags/${version}"; + sha256 = "1pjrw7xhhqx7h4s08h1lsaa499r2ymc41zdknjimn6zlqdjdk1fb"; + }; + + doCheck = false; + propagatedBuildInputs = with self; [ cornice mozsvc pybrowserid ]; + + patchPhase = '' + sed -i "s|'testfixtures'||" setup.py + ''; + + meta = { + maintainers = [ ]; + platforms = stdenv.lib.platforms.all; + }; + }; tissue = buildPythonPackage rec { name = "tissue-0.9.2";