pkgs/promnesia: update deps and friends

This commit is contained in:
Aaron Bieber 2024-08-29 14:39:30 -06:00
parent eb7dd085fe
commit eb125a0a33
No known key found for this signature in database
5 changed files with 81 additions and 16 deletions

View File

@ -1,22 +1,28 @@
{ buildPythonPackage
, fetchPypi
, fetchFromGitHub
, setuptools-scm
, appdirs
, sqlalchemy
, orjson
, pytz
, ...
}:
buildPythonPackage rec {
pname = "cachew";
version = "0.11.0";
version = "0.16.20240828";
nativeBuildInputs = [ setuptools-scm ];
pyproject = true;
doCheck = true;
propagatedBuildInputs = [ appdirs sqlalchemy ];
propagatedBuildInputs = [ appdirs sqlalchemy orjson pytz ];
src = fetchPypi {
inherit pname version;
sha256 = "sha256-4qjgvffInKRpKST9xbwwC2+m8h3ups0ZePyJLUU+KhA=";
src = fetchFromGitHub {
owner = "karlicoss";
repo = pname;
rev = "250f648c4b9f27fb9dfc8961d8f261faddcf5cb0";
hash = "sha256-6UZQ6J3XSSFrrxON1/0J/zvOD0Pu5ufU13CBcTs+6vs=";
};
}

View File

@ -0,0 +1,47 @@
{ pkgs
, buildPythonPackage
, fetchFromGitHub
, setuptools-scm
, beautifulsoup4
, click
, ipython
, logzero
, lxml
, platformdirs
, pytz
}:
let
cachew = pkgs.python3Packages.callPackage ./cachew.nix { inherit pkgs; };
in
buildPythonPackage rec {
pname = "google_takeout_parser";
version = "0.0.20240508";
pyproject = true;
src = fetchFromGitHub {
owner = "seanbreckenridge";
repo = pname;
rev = "9aea89ffeae29246c9c6e27a62dd9fad13b17abc";
hash = "sha256-ns3vBnsZVyUi2nnnE3cBZ7vzZQQ44gkfvglkMZGuud0=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
doCheck = true;
nativeBuildInputs = [
setuptools-scm
];
propagatedBuildInputs = [
beautifulsoup4
cachew
click
ipython
logzero
lxml
platformdirs
pytz
];
}

View File

@ -9,15 +9,19 @@
, logzero
, lxml
, more-itertools
, hypothesis
, mypy
, orjson
, pandas
, pytz
, simplejson
, colorlog
, ...
}:
with pkgs; let
orgparse = pkgs.python3Packages.callPackage ./orgparse.nix { inherit pkgs; };
cachew = pkgs.python3Packages.callPackage ./cachew.nix { inherit pkgs; };
google_takeout_parser = pkgs.python3Packages.callPackage ./google-takeout-parser.nix { inherit pkgs; };
kobuddy = pkgs.python3Packages.callPackage ./kobuddy.nix { inherit pkgs; };
ghexport = pkgs.python3Packages.callPackage ./ghexport.nix { inherit pkgs; };
kompress = buildPythonPackage rec {
@ -48,12 +52,16 @@ buildPythonPackage rec {
click
decorator
geopy
cachew
hypothesis
colorlog
kompress
kobuddy
logzero
lxml
ghexport
more-itertools
google_takeout_parser
mypy
orgparse
orjson

View File

@ -1,27 +1,28 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, beautifulsoup4
, buildPythonPackage
, fastapi
, fetchFromGitHub
, httptools
, logzero
, lxml
, mistletoe
, more-itertools
, mypy
, magic
, pkgs
, python-dotenv
, python-magic
, pytz
, setuptools
, setuptools-scm
, sqlitebrowser
, starlette
, tzlocal
, urlextract
, uvicorn
, uvloop
, watchfiles
, websockets
, setuptools-scm
, starlette
, python-dotenv
, pkgs
, ...
}:
with pkgs; let
@ -29,7 +30,7 @@ with pkgs; let
sqlcipher3 =
pkgs.python3Packages.callPackage ./sqlcipher3.nix { inherit pkgs; };
cachew = pkgs.python3Packages.callPackage ./cachew.nix { inherit pkgs; };
# python-dotenv = pkgs.python3Packages.callPackage ./python-dotenv.nix { };
google_takeout_parser = pkgs.python3Packages.callPackage ./google-takeout-parser.nix { inherit pkgs; };
in
buildPythonPackage rec {
pname = "promnesia";
@ -59,7 +60,8 @@ buildPythonPackage rec {
cachew
fastapi
hpi
magic
google_takeout_parser
python-magic
httptools
starlette
logzero
@ -77,6 +79,7 @@ buildPythonPackage rec {
uvloop
watchfiles
websockets
sqlitebrowser
];
makeWrapperArgs = [

View File

@ -2,6 +2,7 @@
, setuptools-scm
, sqlcipher
, fetchFromGitHub
, sqlite
, ...
}:
buildPythonPackage rec {
@ -9,7 +10,7 @@ buildPythonPackage rec {
version = "0.5.3";
nativeBuildInputs = [ setuptools-scm ];
propagatedBuildInputs = [ sqlcipher ];
propagatedBuildInputs = [ sqlcipher sqlite ];
doCheck = true;