pkgdef pip {
    require distro/ubuntu

    pkg pkg:pip

    env append PATH /usr/local/bin
}

pkgdef tzdata {
    require distro/ubuntu

    exec tzdata {
        apt update
        DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt -y install tzdata
    }
}

pkgdef python3-tkinter {
    require distro/ubuntu

    pkg tzdata

    pkg pkg:python3-tk
}

pkgdef brkraw {
    pkg pip

    pkg python3-tkinter

    exec brkraw {
        pip install brkraw'[SimpleITK]'==0.3.11
    }    
}