gtk4py/shell.nix
2024-06-21 18:53:38 +03:00

26 lines
776 B
Nix

# shell.nix
let
# We pin to a specific nixpkgs commit for reproducibility.
# Last updated: 2024-04-29. Check for new commits at https://status.nixos.org.
# pkgs = import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/cf8cc1201be8bc71b7cbbbdaf349b22f4f99c7ae.tar.gz") {};
pkgs = import <nixpkgs> {};
in pkgs.mkShell {
packages = [
pkgs.gtk4
pkgs.gobject-introspection
pkgs.pkg-config
pkgs.libnotify
pkgs.libadwaita
# pkgs.xdg-desktop-portal-shana
# pkgs.xdg-desktop-portal
# pkgs.xdg-desktop-portal-gtk
# pkgs.xdg-desktop-portal-gnome
# pkgs.gtk3
(pkgs.python3.withPackages (python-pkgs: [
# select Python packages here
# python-pkgs.gi
python-pkgs.pycairo
python-pkgs.pygobject3
]))
];
}