flake.nix: fix python packaging

This commit is contained in:
Oystein Kristoffer Tveit 2024-08-15 23:39:13 +02:00
parent b7388520e0
commit 9f5bd7d15e
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146
2 changed files with 9 additions and 8 deletions

View File

@ -2,16 +2,16 @@
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1692986144,
"narHash": "sha256-M4VFpy7Av9j+33HF5nIGm0k2+DXXW4qSSKdidIKg5jY=",
"lastModified": 1723556749,
"narHash": "sha256-+CHVZnTnIYRLYsARInHYoWkujzcRkLY/gXm3s5bE52o=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "74e5bdc5478ebbe7ba5849f0d765f92757bb9dbf",
"rev": "4a92571f9207810b559c9eac203d1f4d79830073",
"type": "github"
},
"original": {
"id": "nixpkgs",
"ref": "nixos-23.05",
"ref": "nixos-24.05",
"type": "indirect"
}
},

View File

@ -1,6 +1,6 @@
{
inputs = {
nixpkgs.url = "nixpkgs/nixos-23.05";
nixpkgs.url = "nixpkgs/nixos-24.05";
};
outputs = { self, nixpkgs }: let
@ -12,13 +12,14 @@
pvv-calendar-bot = pkgs.python3Packages.buildPythonPackage {
name = "pvv-calendar-bot";
src = ./.;
format = "pyproject";
pyproject = true;
nativeBuildInputs = [
build-system = [
pkgs.python3Packages.setuptools
pkgs.python3Packages.setuptools-scm
];
propagatedBuildInputs = with pkgs.python3Packages; [
dependencies = with pkgs.python3Packages; [
beautifulsoup4
markdown2
matrix-nio