3
0
Fork 0
forked from mirrors/nixpkgs

grab-site: override Python package set with desired tornado version

This commit is contained in:
Frederik Rietdijk 2020-08-29 14:21:08 +02:00
parent 792c220f48
commit 9cae711388
2 changed files with 12 additions and 6 deletions

View file

@ -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
];

View file

@ -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 { };