python3.pkgs.libmodulemd: init bindings

This commit is contained in:
Jan Tojnar
2020-04-08 12:32:39 +02:00
parent 2eab203e57
commit af476597c0
2 changed files with 32 additions and 4 deletions
+18
View File
@@ -2975,6 +2975,24 @@ in {
latexcodec = callPackage ../development/python-modules/latexcodec {};
libmodulemd = pipe pkgs.libmodulemd [
toPythonModule
(p: p.overrideAttrs (super: {
meta = super.meta // {
outputsToInstall = [ "py" ];
# The package always builds python3 bindings
broken = (super.meta.broken or false) || !isPy3k;
};
}))
(p: p.override {
python3 = python;
})
(p: p.py)
];
libselinux = pipe pkgs.libselinux [
toPythonModule