File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,32 +14,44 @@ uninstall:
1414sudo pacman -R python-repl-python-wakatime
1515```
1616
17- ## [ Nix] ( https://nixos.org )
18-
19- For NixOS, add the following code to ` /etc/nixos/configuration.nix ` :
17+ ## [ NUR] ( https://nur.nix-community.org/repos/freed-wu )
2018
2119``` nix
2220{ config, pkgs, ... }:
2321{
24- nix.settings.experimental-features = [ "flakes" ];
25- environment.systemPackages =
26- let
27- repl-python-wakatime = (
28- builtins.getFlake "github:wakatime/repl-python-wakatime"
29- ).packages.${builtins.currentSystem}.default;
30- in
31- [
32- repl-python-wakatime
33- ];
22+ nixpkgs.config.packageOverrides = pkgs: {
23+ nur = import
24+ (
25+ builtins.fetchTarball
26+ "https://github.com/nix-community/NUR/archive/master.tar.gz"
27+ )
28+ {
29+ inherit pkgs;
30+ };
31+ };
32+ environment.systemPackages = with pkgs;
33+ (
34+ python3.withPackages (
35+ p: with p; [
36+ nur.repos.Freed-Wu.repl-python-wakatime
37+ ]
38+ )
39+ )
3440}
3541```
3642
37- For nix,
43+ ## [ Nix ] ( https://nixos.org )
3844
3945``` sh
4046nix shell github:wakatime/repl-python-wakatime
4147```
4248
49+ Run without installation:
50+
51+ ``` sh
52+ nix run github:wakatime/repl-python-wakatime -- --help
53+ ```
54+
4355## [ PYPI] ( https://pypi.org/project/repl-python-wakatime )
4456
4557Install:
You can’t perform that action at this time.
0 commit comments