From 312f812c40fe9c2514be464003ba05a9f2eb8569 Mon Sep 17 00:00:00 2001 From: "William A. Kennington III" Date: Fri, 2 Jan 2015 17:18:02 -0800 Subject: [PATCH] testscenarios: Add derivation --- pkgs/top-level/python-packages.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 7def8201d288..ee17bacad0ba 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -10140,6 +10140,25 @@ let }; + testscenarios = buildPythonPackage rec { + name = "testscenarios-${version}"; + version = "0.4"; + + src = pkgs.fetchurl { + url = "https://pypi.python.org/packages/source/t/testscenarios/${name}.tar.gz"; + sha256 = "1671jvrvqlmbnc42j7pc5y6vc37q44aiwrq0zic652pxyy2fxvjg"; + }; + + propagatedBuildInputs = with self; [ testtools ]; + + meta = { + description = "a pyunit extension for dependency injection"; + homepage = https://pypi.python.org/pypi/testscenarios; + license = licenses.asl20; + }; + }; + + testtools = buildPythonPackage rec { name = "testtools-${version}"; version = "0.9.34";