forked from mirrors/nixpkgs
grab-site: override Python package set with desired tornado version
This commit is contained in:
parent
792c220f48
commit
9cae711388
|
@ -1,6 +1,14 @@
|
|||
{ stdenv, python3Packages, fetchFromGitHub }:
|
||||
{ stdenv, python37, fetchFromGitHub }:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
let
|
||||
python = python37.override {
|
||||
self = python;
|
||||
packageOverrides = self: super: {
|
||||
tornado = super.tornado_4;
|
||||
};
|
||||
};
|
||||
|
||||
in with python.pkgs; buildPythonApplication rec {
|
||||
version = "2.1.19";
|
||||
name = "grab-site-${version}";
|
||||
|
||||
|
@ -11,7 +19,7 @@ python3Packages.buildPythonApplication rec {
|
|||
sha256 = "1v1hnhv5knzdl0kj3574ccwlh171vcb7faddp095ycdmiiybalk4";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
propagatedBuildInputs = [
|
||||
click ludios_wpull manhole lmdb autobahn fb-re2 websockets cchardet
|
||||
];
|
||||
|
||||
|
|
|
@ -12529,9 +12529,7 @@ in
|
|||
|
||||
gperftools = callPackage ../development/libraries/gperftools { };
|
||||
|
||||
grab-site = callPackage ../tools/backup/grab-site {
|
||||
python3Packages = python37Packages;
|
||||
};
|
||||
grab-site = callPackage ../tools/backup/grab-site { };
|
||||
|
||||
grib-api = callPackage ../development/libraries/grib-api { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue