pythonPackages.responses: Move to own file
This commit is contained in:
parent
760af870e9
commit
111b4b859f
16
pkgs/development/python-modules/responses/default.nix
Normal file
16
pkgs/development/python-modules/responses/default.nix
Normal 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;
|
||||
}
|
|
@ -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; };
|
||||
|
||||
|
|
Loading…
Reference in a new issue