git.iko.soy/typeable/nixpkgs
on master help sign in
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.

commit674aa05abca627dc50a935daf3537175759cf3c6 authorLancelot SIX <lsix@lancelotsix.com> dateWed 24 Aug 2016, 17:47 (10 years ago) parent3614e95
1 file changed+6
pkgs/top-level/python-packages.nix+6
pkgs/top-level/python-packages.nix+6
@@ -10776,6 +10776,12 @@ in modules // {
1077610776 };
1077710777 };
1077810778
10779+ gdal = (pkgs.gdal.overrideDerivation (oldattrs: {
10780+ name = "${python.libPrefix}-" + oldattrs.name;
10781+ })).override {
10782+ pythonPackages = self;
10783+ };
10784+
1077910785 gdrivefs = buildPythonPackage rec {
1078010786 version = "0.14.3";
1078110787 name = "gdrivefs-${version}";