3
0
Fork 0
forked from mirrors/nixpkgs

eccodes: Provide python bindings

This commit is contained in:
Josef Kemetmueller 2017-05-22 13:51:48 +00:00
parent 3b44cd731c
commit abdaf5a290

View file

@ -6379,6 +6379,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";