all: unpin python version from 3.8
This commit is contained in:
parent
327a79479d
commit
a867182ba5
10
flake.nix
10
flake.nix
@ -20,7 +20,7 @@
|
|||||||
devShells.${system} = {
|
devShells.${system} = {
|
||||||
python = let
|
python = let
|
||||||
pkgs = nixpkgs.legacyPackages.${system};
|
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 {
|
in pkgs.mkShell {
|
||||||
packages = [ pythonEnv ];
|
packages = [ pythonEnv ];
|
||||||
shellHook = ''
|
shellHook = ''
|
||||||
@ -30,11 +30,11 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
overlays.default = final: prev: let
|
overlays.default = final: prev: let
|
||||||
pythonPackage = name: path: deps: final.python38Packages.buildPythonPackage {
|
pythonPackage = name: path: deps: final.python3Packages.buildPythonPackage {
|
||||||
inherit name;
|
inherit name;
|
||||||
src = builtins.path { inherit name path; };
|
src = builtins.path { inherit name path; };
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
propagatedBuildInputs = [ final.python38Packages.setuptools ] ++ deps;
|
propagatedBuildInputs = [ final.python3Packages.setuptools ] ++ deps;
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
@ -48,11 +48,11 @@
|
|||||||
final.intake-praw
|
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-reddit = pythonPackage "intake-reddit" ./intake-reddit [];
|
||||||
intake-hackernews = pythonPackage "intake-hackernews" ./intake-hackernews [];
|
intake-hackernews = pythonPackage "intake-hackernews" ./intake-hackernews [];
|
||||||
intake-echo = pythonPackage "intake-echo" ./intake-echo [];
|
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 = {
|
nixosModules.default = {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "intake-echo"
|
name = "intake-echo"
|
||||||
version = "1.0.0"
|
version = "1.1.0"
|
||||||
|
|
||||||
[project.scripts]
|
[project.scripts]
|
||||||
intake-echo = "intake_echo.core:main"
|
intake-echo = "intake_echo.core:main"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "intake-hackernews"
|
name = "intake-hackernews"
|
||||||
version = "1.0.1"
|
version = "1.1.0"
|
||||||
|
|
||||||
[project.scripts]
|
[project.scripts]
|
||||||
intake-hackernews = "intake_hackernews.core:main"
|
intake-hackernews = "intake_hackernews.core:main"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "intake-praw"
|
name = "intake-praw"
|
||||||
version = "1.0.2"
|
version = "1.1.0"
|
||||||
|
|
||||||
[project.scripts]
|
[project.scripts]
|
||||||
intake-praw = "intake_praw.core:main"
|
intake-praw = "intake_praw.core:main"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "intake-reddit"
|
name = "intake-reddit"
|
||||||
version = "1.0.1"
|
version = "1.1.0"
|
||||||
|
|
||||||
[project.scripts]
|
[project.scripts]
|
||||||
intake-reddit = "intake_reddit.core:main"
|
intake-reddit = "intake_reddit.core:main"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "intake-rss"
|
name = "intake-rss"
|
||||||
version = "1.2.0"
|
version = "1.3.0"
|
||||||
|
|
||||||
[project.scripts]
|
[project.scripts]
|
||||||
intake-rss = "intake_rss.core:main"
|
intake-rss = "intake_rss.core:main"
|
||||||
|
Loading…
Reference in New Issue
Block a user