pythonPackages.gdal: aliases pkgs.gdal

`pkgs.gdal` ships python2 bindings. This allows to have a gdal package
for each python package set with the appropriate bindings installed.
This commit is contained in:
Lancelot SIX 2016-08-24 17:47:49 +02:00
parent 3614e950e4
commit 674aa05abc
No known key found for this signature in database
GPG Key ID: 02E1542BA66FB047

View File

@ -10776,6 +10776,12 @@ in modules // {
}; };
}; };
gdal = (pkgs.gdal.overrideDerivation (oldattrs: {
name = "${python.libPrefix}-" + oldattrs.name;
})).override {
pythonPackages = self;
};
gdrivefs = buildPythonPackage rec { gdrivefs = buildPythonPackage rec {
version = "0.14.3"; version = "0.14.3";
name = "gdrivefs-${version}"; name = "gdrivefs-${version}";