pythonPackages.responses: Move to own file

This commit is contained in:
Elis Hirwing 2018-03-31 12:52:47 +02:00 committed by Frederik Rietdijk
parent 760af870e9
commit 111b4b859f
2 changed files with 17 additions and 13 deletions

View File

@ -0,0 +1,16 @@
{ stdenv, buildPythonPackage, fetchPypi
, cookies, mock, requests, six }:
buildPythonPackage rec {
pname = "responses";
version = "0.4.0";
src = fetchPypi {
inherit pname version;
sha256 = "0fs7a4cf4f12mjhcjd5vfh0f3ixcy2nawzxpgsfr3ahf0rg7ppx5";
};
propagatedBuildInputs = [ cookies mock requests six ];
doCheck = false;
}

View File

@ -1226,19 +1226,7 @@ in {
iowait = callPackage ../development/python-modules/iowait {};
responses = self.buildPythonPackage rec {
name = "responses-0.4.0";
src = pkgs.fetchurl {
url = "mirror://pypi/r/responses/${name}.tar.gz";
sha256 = "0fs7a4cf4f12mjhcjd5vfh0f3ixcy2nawzxpgsfr3ahf0rg7ppx5";
};
propagatedBuildInputs = with self; [ cookies mock requests six ];
doCheck = false;
};
responses = callPackage ../development/python-modules/responses {};
rarfile = callPackage ../development/python-modules/rarfile { inherit (pkgs) libarchive; };