7 , gobject-introspection
18 stdenv.mkDerivation rec {
19 pname = "libmodulemd";
22 outputs = [ "bin" "out" "dev" "devdoc" "man" "py" ];
24 src = fetchFromGitHub {
25 owner = "fedora-modularity";
27 rev = "${pname}-${version}";
28 sha256 = "sha256-mIyrdksyEk1AKV+vw4g8LUwlQRzwwMkPDuCbw2IiNcA=";
32 # Use proper glib devdoc path.
34 src = ./glib-devdoc.patch;
35 glib_devdoc = glib.devdoc;
57 "-Dgobject_overrides_dir_py3=${placeholder "py"}/${python3.sitePackages}/gi/overrides"
61 # Python overrides depend our own typelibs and other packages
62 mkdir -p "$py/nix-support"
63 echo "$out ${python3.pkgs.pygobject3} ${python3.pkgs.six}" > "$py/nix-support/propagated-build-inputs"
67 description = "C Library for manipulating module metadata files";
68 homepage = "https://github.com/fedora-modularity/libmodulemd";
69 license = licenses.mit;
70 maintainers = with maintainers; [ ];
71 platforms = platforms.linux ++ platforms.darwin ;