pkgs/promnesia: update prom and deps

This commit is contained in:
Aaron Bieber 2024-08-29 08:10:38 -06:00
parent c268e3a5be
commit 11e999a1d6
No known key found for this signature in database
5 changed files with 49 additions and 19 deletions

View File

@ -7,8 +7,10 @@
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "ghexport"; pname = "ghexport";
version = "20220828"; version = "20231020";
pyproject = true;
nativeBuildInputs = [ setuptools-scm ]; nativeBuildInputs = [ setuptools-scm ];
propagatedBuildInputs = [ PyGithub pytz ]; propagatedBuildInputs = [ PyGithub pytz ];
@ -25,7 +27,7 @@ buildPythonPackage rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "karlicoss"; owner = "karlicoss";
repo = pname; repo = pname;
rev = "e7704dc5b984731a53e74cbcadcbc3dd9c3024cd"; rev = "03207b63da4a0f570700f373867ff67deb4f43d1";
hash = "sha256-m/iqeBvCXHlN7GsNW6A2AX1g+ZaH3W62+Ulcfgup0KQ="; hash = "sha256-QfYpi59q5uqOEAcxLC72972HMsgRlMngjuRULwRbmUc=";
}; };
} }

View File

@ -2,7 +2,6 @@
, buildPythonPackage , buildPythonPackage
, setuptools-scm , setuptools-scm
, pytest , pytest
, fetchPypi
, appdirs , appdirs
, click , click
, decorator , decorator
@ -21,17 +20,35 @@ with pkgs; let
orgparse = pkgs.python3Packages.callPackage ./orgparse.nix { inherit pkgs; }; orgparse = pkgs.python3Packages.callPackage ./orgparse.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 {
pname = "kompress";
version = "0.1.20240829";
pyproject = true;
nativeBuildInputs = [ setuptools-scm ];
src = fetchFromGitHub {
owner = "karlicoss";
repo = pname;
rev = "b4127543d8ca22988335d2640f905b8d939f85a1";
hash = "sha256-U7o5FG2FscAhbsYd/KS/vess/eJU/A2jH/WOve0anHo=";
};
};
in in
buildPythonPackage rec { buildPythonPackage rec {
pname = "HPI"; pname = "HPI";
version = "0.3.20230207"; version = "0.5.20240824";
pyproject = true;
nativeBuildInputs = [ setuptools-scm ]; nativeBuildInputs = [ setuptools-scm ];
propagatedBuildInputs = [ propagatedBuildInputs = [
appdirs appdirs
click click
decorator decorator
geopy geopy
kompress
kobuddy kobuddy
logzero logzero
lxml lxml
@ -60,8 +77,10 @@ buildPythonPackage rec {
export HOME=$(mktemp -d) export HOME=$(mktemp -d)
''; '';
src = fetchPypi { src = fetchFromGitHub {
inherit pname version; owner = "karlicoss";
sha256 = "sha256-i3C1Lmj6K48zVG960uv1epQm38qQnxalwy8kHnLTZrE="; repo = pname;
rev = "d58453410c34d75715b71c041f7a58a4f0954436";
hash = "sha256-UMccXFUwcyQOQdJuR3f9OgjskUs99zR5HPZ5NjKdVRI=";
}; };
} }

View File

@ -1,13 +1,15 @@
{ buildPythonPackage { buildPythonPackage
, setuptools-scm , setuptools-scm
, pytest , pytest
, fetchPypi , fetchFromGitHub
, ... , ...
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "orgparse"; pname = "orgparse";
version = "0.3.2"; version = "0.4.20231004";
pyproject = true;
nativeBuildInputs = [ setuptools-scm ]; nativeBuildInputs = [ setuptools-scm ];
#propagatedBuildInputs = [ ]; #propagatedBuildInputs = [ ];
@ -15,8 +17,10 @@ buildPythonPackage rec {
doCheck = true; doCheck = true;
src = fetchPypi { src = fetchFromGitHub {
inherit pname version; owner = "karlicoss";
sha256 = "sha256-RRBQ55rLelHGXcmbkJXq5NUL1ZhUE1T552PLTL31mlU="; repo = pname;
rev = "da56aae64a6373ae8bab2dde9dc756f904f1d8f8";
sha256 = "sha256-Vx7WDL6svMtlhuxXBQsh9gcCZTnVD4RV8lz6ijK6qbw=";
}; };
} }

View File

@ -9,6 +9,7 @@
, mistletoe , mistletoe
, more-itertools , more-itertools
, mypy , mypy
, magic
, pytz , pytz
, setuptools , setuptools
, tzlocal , tzlocal
@ -19,6 +20,7 @@
, websockets , websockets
, setuptools-scm , setuptools-scm
, starlette , starlette
, python-dotenv
, pkgs , pkgs
, ... , ...
}: }:
@ -27,7 +29,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 { }; # python-dotenv = pkgs.python3Packages.callPackage ./python-dotenv.nix { };
in in
buildPythonPackage rec { buildPythonPackage rec {
pname = "promnesia"; pname = "promnesia";
@ -57,6 +59,7 @@ buildPythonPackage rec {
cachew cachew
fastapi fastapi
hpi hpi
magic
httptools httptools
starlette starlette
logzero logzero

View File

@ -1,20 +1,22 @@
{ buildPythonPackage { buildPythonPackage
, setuptools-scm , setuptools-scm
, sqlcipher , sqlcipher
, fetchPypi , fetchFromGitHub
, ... , ...
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "sqlcipher3"; pname = "sqlcipher3";
version = "0.5.0"; version = "0.5.3";
nativeBuildInputs = [ setuptools-scm ]; nativeBuildInputs = [ setuptools-scm ];
propagatedBuildInputs = [ sqlcipher ]; propagatedBuildInputs = [ sqlcipher ];
doCheck = true; doCheck = true;
src = fetchPypi { src = fetchFromGitHub {
inherit pname version; owner = "coleifer";
sha256 = "sha256-+wa7UzaCWvIE6Obb/Ihema8UnFPr2P+HeDe1R4+iU+U="; repo = "sqlcipher3";
rev = "0.5.3";
hash = "sha256-eRXwovBBzEKP7K97lDXeKXWwBTO6pW9FSzKx4TAD29U=";
}; };
} }