mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 11:53:27 +00:00
Merge pull request #25992 from knedlsepp/provide-eccodes-python-bindings
eccodes: Provide python bindings
This commit is contained in:
commit
9ed3ad1eba
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user