Skip to content

Commit

Permalink
bump signal export to 3.2.2 (#353086)
Browse files Browse the repository at this point in the history
  • Loading branch information
picnoir authored Jan 7, 2025
2 parents 0efc013 + 1bae375 commit 5f47d3e
Show file tree
Hide file tree
Showing 5 changed files with 80 additions and 7 deletions.
15 changes: 8 additions & 7 deletions pkgs/by-name/si/signal-export/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,26 @@

python3.pkgs.buildPythonApplication rec {
pname = "signal-export";
version = "1.8.2";
version = "3.2.2";
pyproject = true;

src = fetchPypi {
inherit pname version;
hash = "sha256-Hm0BVF2RUsxDacsAB3MJtk1t9FYmBPjeb5JzwaLkZ14=";
inherit version;
pname = "signal_export";
hash = "sha256-QHTix56hdujxWr+pjCg6zu15tCB7YoDSzmNpWwWOHN0=";
};

nativeBuildInputs = with python3.pkgs; [
setuptools-scm
build-system = with python3.pkgs; [
pdm-backend
];

propagatedBuildInputs = with python3.pkgs; [
setuptools
typer
beautifulsoup4
emoji
markdown
pysqlcipher3
pycryptodome
sqlcipher3-wheels
];

passthru.updateScript = nix-update-script { };
Expand Down
13 changes: 13 additions & 0 deletions pkgs/development/python-modules/sqlcipher3-binary/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
mkPythonMetaPackage,
sqlcipher3,
}:
mkPythonMetaPackage {
pname = "sqlcipher3-binary";
inherit (sqlcipher3) version;
dependencies = [ sqlcipher3 ];
optional-dependencies = sqlcipher3.optional-dependencies or { };
meta = {
inherit (sqlcipher3.meta) description homepage license;
};
}
13 changes: 13 additions & 0 deletions pkgs/development/python-modules/sqlcipher3-wheels/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
mkPythonMetaPackage,
sqlcipher3,
}:
mkPythonMetaPackage {
pname = "sqlcipher3-wheels";
inherit (sqlcipher3) version;
dependencies = [ sqlcipher3 ];
optional-dependencies = sqlcipher3.optional-dependencies or { };
meta = {
inherit (sqlcipher3.meta) description homepage license;
};
}
42 changes: 42 additions & 0 deletions pkgs/development/python-modules/sqlcipher3/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
sqlcipher,
openssl,
}:
let
pname = "sqlcipher3";
version = "0.5.4";
in
buildPythonPackage {
inherit pname version;
pyproject = true;

src = fetchPypi {
inherit pname version;
hash = "sha256-4w/1jWTdQ+Gezt3RARahonrR2YiMxCRcdfK9qbA4Tnc=";
};

build-system = [
setuptools
];

buildInputs = [
sqlcipher
openssl
];

pythonImportChecks = [
"sqlcipher3"
];

meta = with lib; {
mainProgram = "sqlcipher3";
homepage = "https://github.com/coleifer/sqlcipher3";
description = "Python 3 bindings for SQLCipher";
license = licenses.zlib;
maintainers = with maintainers; [ phaer ];
};
}
4 changes: 4 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15381,6 +15381,10 @@ self: super: with self; {

sqlbag = callPackage ../development/python-modules/sqlbag { };

sqlcipher3 = callPackage ../development/python-modules/sqlcipher3 {};
sqlcipher3-binary = callPackage ../development/python-modules/sqlcipher3-binary {};
sqlcipher3-wheels = callPackage ../development/python-modules/sqlcipher3-wheels {};

sqlfmt = callPackage ../development/python-modules/sqlfmt { };

sqlglot = callPackage ../development/python-modules/sqlglot { };
Expand Down

0 comments on commit 5f47d3e

Please sign in to comment.