all: unpin python version from 3.8

This commit is contained in:
Tim Van Baak 2024-06-28 15:40:45 +00:00
parent 327a79479d
commit a867182ba5
6 changed files with 10 additions and 10 deletions

View File

@ -20,7 +20,7 @@
devShells.${system} = {
python = let
pkgs = nixpkgs.legacyPackages.${system};
pythonEnv = pkgs.python38.withPackages (pypkgs: with pypkgs; [ black feedparser praw ]);
pythonEnv = pkgs.python3.withPackages (pypkgs: with pypkgs; [ black feedparser praw ]);
in pkgs.mkShell {
packages = [ pythonEnv ];
shellHook = ''
@ -30,11 +30,11 @@
};
overlays.default = final: prev: let
pythonPackage = name: path: deps: final.python38Packages.buildPythonPackage {
pythonPackage = name: path: deps: final.python3Packages.buildPythonPackage {
inherit name;
src = builtins.path { inherit name path; };
format = "pyproject";
propagatedBuildInputs = [ final.python38Packages.setuptools ] ++ deps;
propagatedBuildInputs = [ final.python3Packages.setuptools ] ++ deps;
};
in
{
@ -48,11 +48,11 @@
final.intake-praw
];
};
intake-rss = pythonPackage "intake-rss" ./intake-rss [ final.python38Packages.feedparser ];
intake-rss = pythonPackage "intake-rss" ./intake-rss [ final.python3Packages.feedparser ];
intake-reddit = pythonPackage "intake-reddit" ./intake-reddit [];
intake-hackernews = pythonPackage "intake-hackernews" ./intake-hackernews [];
intake-echo = pythonPackage "intake-echo" ./intake-echo [];
intake-praw = pythonPackage "intake-praw" ./intake-praw [ final.python38Packages.praw ];
intake-praw = pythonPackage "intake-praw" ./intake-praw [ final.python3Packages.praw ];
};
nixosModules.default = {

View File

@ -1,6 +1,6 @@
[project]
name = "intake-echo"
version = "1.0.0"
version = "1.1.0"
[project.scripts]
intake-echo = "intake_echo.core:main"

View File

@ -1,6 +1,6 @@
[project]
name = "intake-hackernews"
version = "1.0.1"
version = "1.1.0"
[project.scripts]
intake-hackernews = "intake_hackernews.core:main"

View File

@ -1,6 +1,6 @@
[project]
name = "intake-praw"
version = "1.0.2"
version = "1.1.0"
[project.scripts]
intake-praw = "intake_praw.core:main"

View File

@ -1,6 +1,6 @@
[project]
name = "intake-reddit"
version = "1.0.1"
version = "1.1.0"
[project.scripts]
intake-reddit = "intake_reddit.core:main"

View File

@ -1,6 +1,6 @@
[project]
name = "intake-rss"
version = "1.2.0"
version = "1.3.0"
[project.scripts]
intake-rss = "intake_rss.core:main"