summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
eb0c6f1)
It's not yet available in a stable release branch of nixpkgs. We don't want to
force folks to use unstable to use pinch.
Revert this commit after 20.09 is released and everyone's had time to upgrade.
+# Use xdg module when it's less painful to have as a dependency
+
+
+class XDG(types.SimpleNamespace):
+ XDG_CACHE_HOME: str
+
+
+xdg = XDG(
+ XDG_CACHE_HOME=os.getenv(
+ 'XDG_CACHE_HOME',
+ os.path.expanduser('~/.cache')))
Digest16 = NewType('Digest16', str)
Digest16 = NewType('Digest16', str)
{ pkgs ? import <nixpkgs> { } }:
pkgs.mkShell rec {
doCheck = true;
{ pkgs ? import <nixpkgs> { } }:
pkgs.mkShell rec {
doCheck = true;
- buildInputs = with pkgs; [ (python3.withPackages (ps: with ps; [ xdg ])) ];
+ buildInputs = with pkgs; [ python3 ];
checkInputs = with pkgs; [
mypy
python3Packages.autopep8
checkInputs = with pkgs; [
mypy
python3Packages.autopep8