opam-version: "2.0" maintainer: "unixjunkie@sdf.org" homepage: "https://www.python.org/download/releases/2.7/" authors: "Python Software Foundation" bug-reports: "https://github.com/ocaml/opam-repository/issues" license: "PSF" build: [ ["cc" "test.c"] ] depexts: [ ["python2.7-dev"] {os-family = "debian"} ["python27"] {os-distribution = "nixos"} ] synopsis: "Virtual package relying on Python-2.7 development package installation" description: """ This package can only install if the "python2.7/Python.h" C header file is available on the system.""" flags: conf extra-source "test.c" { src: "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/conf-python-2-7-dev/test.c" checksum: [ "sha256=0af008535f947fca65912bf59ab42b8c82462aa0bc20d6a68a0e647ca5292217" "md5=38169957900602d7c02af0d5040f3a6d" ] }