spellbook/wallabag-refresh/shell.nix

29 lines
702 B
Nix
Raw Permalink Normal View History

2021-12-11 20:39:35 -08:00
# 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
'';
}