29 lines
702 B
Nix
29 lines
702 B
Nix
# shell.nix
|
|
{ pkgs ? import <nixpkgs> {} }:
|
|
let
|
|
wallabagapi = pkgs.python38Packages.buildPythonPackage rec {
|
|
pname = "wallabag-client";
|
|
version = "1.8.2";
|
|
|
|
src = pkgs.python38Packages.fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-jqd0mehCHX/SVb2YHdDpCwKFrV5FjgLavdaMEo2jmfA=";
|
|
};
|
|
propagatedBuildInputs = with pkgs.python38Packages; [ httpx setuptools_scm ];
|
|
doCheck = false;
|
|
};
|
|
customPython = pkgs.python38.buildEnv.override {
|
|
extraLibs = [ pkgs.python38Packages.requests pkgs.python38Packages.icecream ];
|
|
};
|
|
in
|
|
pkgs.mkShell {
|
|
buildInputs = [
|
|
customPython
|
|
# other dependencies
|
|
];
|
|
shellHook = ''
|
|
# maybe set more env-vars
|
|
'';
|
|
}
|
|
|