pkgs/promnesia: update deps and friends
This commit is contained in:
parent
eb7dd085fe
commit
eb125a0a33
@ -1,22 +1,28 @@
|
|||||||
{ buildPythonPackage
|
{ buildPythonPackage
|
||||||
, fetchPypi
|
, fetchFromGitHub
|
||||||
, setuptools-scm
|
, setuptools-scm
|
||||||
, appdirs
|
, appdirs
|
||||||
, sqlalchemy
|
, sqlalchemy
|
||||||
|
, orjson
|
||||||
|
, pytz
|
||||||
, ...
|
, ...
|
||||||
}:
|
}:
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "cachew";
|
pname = "cachew";
|
||||||
version = "0.11.0";
|
version = "0.16.20240828";
|
||||||
|
|
||||||
nativeBuildInputs = [ setuptools-scm ];
|
nativeBuildInputs = [ setuptools-scm ];
|
||||||
|
|
||||||
|
pyproject = true;
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
propagatedBuildInputs = [ appdirs sqlalchemy ];
|
propagatedBuildInputs = [ appdirs sqlalchemy orjson pytz ];
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchFromGitHub {
|
||||||
inherit pname version;
|
owner = "karlicoss";
|
||||||
sha256 = "sha256-4qjgvffInKRpKST9xbwwC2+m8h3ups0ZePyJLUU+KhA=";
|
repo = pname;
|
||||||
|
rev = "250f648c4b9f27fb9dfc8961d8f261faddcf5cb0";
|
||||||
|
hash = "sha256-6UZQ6J3XSSFrrxON1/0J/zvOD0Pu5ufU13CBcTs+6vs=";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
47
pkgs/google-takeout-parser.nix
Normal file
47
pkgs/google-takeout-parser.nix
Normal 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
|
||||||
|
];
|
||||||
|
}
|
@ -9,15 +9,19 @@
|
|||||||
, logzero
|
, logzero
|
||||||
, lxml
|
, lxml
|
||||||
, more-itertools
|
, more-itertools
|
||||||
|
, hypothesis
|
||||||
, mypy
|
, mypy
|
||||||
, orjson
|
, orjson
|
||||||
, pandas
|
, pandas
|
||||||
, pytz
|
, pytz
|
||||||
, simplejson
|
, simplejson
|
||||||
|
, colorlog
|
||||||
, ...
|
, ...
|
||||||
}:
|
}:
|
||||||
with pkgs; let
|
with pkgs; let
|
||||||
orgparse = pkgs.python3Packages.callPackage ./orgparse.nix { inherit pkgs; };
|
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; };
|
kobuddy = pkgs.python3Packages.callPackage ./kobuddy.nix { inherit pkgs; };
|
||||||
ghexport = pkgs.python3Packages.callPackage ./ghexport.nix { inherit pkgs; };
|
ghexport = pkgs.python3Packages.callPackage ./ghexport.nix { inherit pkgs; };
|
||||||
kompress = buildPythonPackage rec {
|
kompress = buildPythonPackage rec {
|
||||||
@ -48,12 +52,16 @@ buildPythonPackage rec {
|
|||||||
click
|
click
|
||||||
decorator
|
decorator
|
||||||
geopy
|
geopy
|
||||||
|
cachew
|
||||||
|
hypothesis
|
||||||
|
colorlog
|
||||||
kompress
|
kompress
|
||||||
kobuddy
|
kobuddy
|
||||||
logzero
|
logzero
|
||||||
lxml
|
lxml
|
||||||
ghexport
|
ghexport
|
||||||
more-itertools
|
more-itertools
|
||||||
|
google_takeout_parser
|
||||||
mypy
|
mypy
|
||||||
orgparse
|
orgparse
|
||||||
orjson
|
orjson
|
||||||
|
@ -1,27 +1,28 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
|
||||||
, fetchFromGitHub
|
|
||||||
, beautifulsoup4
|
, beautifulsoup4
|
||||||
|
, buildPythonPackage
|
||||||
, fastapi
|
, fastapi
|
||||||
|
, fetchFromGitHub
|
||||||
, httptools
|
, httptools
|
||||||
, logzero
|
, logzero
|
||||||
, lxml
|
, lxml
|
||||||
, mistletoe
|
, mistletoe
|
||||||
, more-itertools
|
, more-itertools
|
||||||
, mypy
|
, mypy
|
||||||
, magic
|
, pkgs
|
||||||
|
, python-dotenv
|
||||||
|
, python-magic
|
||||||
, pytz
|
, pytz
|
||||||
, setuptools
|
, setuptools
|
||||||
|
, setuptools-scm
|
||||||
|
, sqlitebrowser
|
||||||
|
, starlette
|
||||||
, tzlocal
|
, tzlocal
|
||||||
, urlextract
|
, urlextract
|
||||||
, uvicorn
|
, uvicorn
|
||||||
, uvloop
|
, uvloop
|
||||||
, watchfiles
|
, watchfiles
|
||||||
, websockets
|
, websockets
|
||||||
, setuptools-scm
|
|
||||||
, starlette
|
|
||||||
, python-dotenv
|
|
||||||
, pkgs
|
|
||||||
, ...
|
, ...
|
||||||
}:
|
}:
|
||||||
with pkgs; let
|
with pkgs; let
|
||||||
@ -29,7 +30,7 @@ with pkgs; let
|
|||||||
sqlcipher3 =
|
sqlcipher3 =
|
||||||
pkgs.python3Packages.callPackage ./sqlcipher3.nix { inherit pkgs; };
|
pkgs.python3Packages.callPackage ./sqlcipher3.nix { inherit pkgs; };
|
||||||
cachew = pkgs.python3Packages.callPackage ./cachew.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
|
in
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "promnesia";
|
pname = "promnesia";
|
||||||
@ -59,7 +60,8 @@ buildPythonPackage rec {
|
|||||||
cachew
|
cachew
|
||||||
fastapi
|
fastapi
|
||||||
hpi
|
hpi
|
||||||
magic
|
google_takeout_parser
|
||||||
|
python-magic
|
||||||
httptools
|
httptools
|
||||||
starlette
|
starlette
|
||||||
logzero
|
logzero
|
||||||
@ -77,6 +79,7 @@ buildPythonPackage rec {
|
|||||||
uvloop
|
uvloop
|
||||||
watchfiles
|
watchfiles
|
||||||
websockets
|
websockets
|
||||||
|
sqlitebrowser
|
||||||
];
|
];
|
||||||
|
|
||||||
makeWrapperArgs = [
|
makeWrapperArgs = [
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
, setuptools-scm
|
, setuptools-scm
|
||||||
, sqlcipher
|
, sqlcipher
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, sqlite
|
||||||
, ...
|
, ...
|
||||||
}:
|
}:
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -9,7 +10,7 @@ buildPythonPackage rec {
|
|||||||
version = "0.5.3";
|
version = "0.5.3";
|
||||||
|
|
||||||
nativeBuildInputs = [ setuptools-scm ];
|
nativeBuildInputs = [ setuptools-scm ];
|
||||||
propagatedBuildInputs = [ sqlcipher ];
|
propagatedBuildInputs = [ sqlcipher sqlite ];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user