anchor.diff:      [ qscintilla-qt5 gdal jinja2 numpy psycopg2
         chardet dateutil pyyaml pytz requests urllib3 pygments pyqt5 sip owslib six ];
   in stdenv.mkDerivation rec {
  -  version = "3.4.8";
  -  name = "qgis-unwrapped-${version}";
  +  version = "3.8.0";
  +  pname = "qgis";
  +  name = "${pname}-unwrapped-${version}";
   
  -  src = fetchurl {
  -    url = "http://qgis.org/downloads/qgis-${version}.tar.bz2";
  -    sha256 = "13dy9y7ipv25x3k31njhjljdav36xay6s82g6ywaqf1xxh3s567w";
  +  src = fetchFromGitHub {
  +    owner = "qgis";
  +    repo = "QGIS";
  +    rev = "final-${lib.replaceStrings ["."] ["_"] version}";
  +    sha256 = "11jqj6lavpw9piv0rm8vvbgd99zhcxl6yfjg699wlrjlyf71xac5";
     };
   
     passthru = {
  
positive.code: { stdenv, lib, fetchurl, cmake, ninja, flex, bison, proj, geos, xlibsWrapper, sqlite, gsl
  , qwt, fcgi, python3Packages, libspatialindex, libspatialite, postgresql
  , txt2tags, openssl, libzip, hdf5, netcdf
  , qtbase, qtwebkit, qtsensors, qca-qt5, qtkeychain, qscintilla, qtserialport, qtxmlpatterns
  , withGrass ? true, grass
  }:
  
negative.code:     inherit python3Packages;
    };
  
    buildInputs = [ openssl proj geos xlibsWrapper sqlite gsl qwt exiv2
      fcgi libspatialindex libspatialite postgresql txt2tags libzip hdf5 netcdf
      qtbase qtwebkit qtsensors qca-qt5 qtkeychain qscintilla qtserialport qtxmlpatterns] ++
      (stdenv.lib.optional withGrass grass) ++ pythonBuildInputs;
  