Merge pull request #25992 from knedlsepp/provide-eccodes-python-bindings

eccodes: Provide python bindings
This commit is contained in:
Frederik Rietdijk 2017-06-07 13:07:54 +02:00 committed by GitHub
commit 9ed3ad1eba

View File

@ -6246,6 +6246,14 @@ in {
};
};
eccodes = if (isPy27) then
(pkgs.eccodes.overrideAttrs (oldattrs: {
name = "${python.libPrefix}-" + oldattrs.name;
})).override {
enablePython = true;
pythonPackages = self;
} else throw "eccodes not supported for interpreter ${python.executable}";
EditorConfig = buildPythonPackage rec {
name = "EditorConfig-${version}";
version = "0.12.0";