gtk4py/shell.nix

22 lines
631 B
Nix
Raw Normal View History

2024-06-20 17:38:51 +03:00
# 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.python3.withPackages (python-pkgs: [
# select Python packages here
# python-pkgs.gi
python-pkgs.pycairo
python-pkgs.pygobject3
]))
];
}