Unverified Commit 14440cb2 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python313Packages.sqlalchemy-utc: init at 0.14.0,...

python313Packages.sqlalchemy-utc: init at 0.14.0, python313Packages.python-obfuscator: init at 0.0.2 (#396514)
parents d8a4d6f0 f8dfc0ff
Loading
Loading
Loading
Loading
+31 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
}:

buildPythonPackage rec {
  pname = "donut-shellcode";
  version = "1.1";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "TheWover";
    repo = "donut";
    rev = "v${version}";
    hash = "sha256-gKa7ngq2+r4EYRdwH9AWnJodJjCdppzKch4Ve/4ZPhk=";
  };

  build-system = [ setuptools ];

  pythonImportsCheck = [ "donut" ];

  meta = {
    description = "Module to generate x86, x64, or AMD64+x86 position-independent shellcode";
    homepage = "https://github.com/TheWover/donut";
    changelog = "https://github.com/TheWover/donut/blob/${src.rev}/CHANGELOG.md";
    license = lib.licenses.bsd3;
    maintainers = with lib.maintainers; [ fab ];
  };
}
+36 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
  pyasyncore,
}:

buildPythonPackage rec {
  pname = "pysecretsocks";
  version = "0.9.1-unstable-2023-11-04";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "BC-SECURITY";
    repo = "PySecretSOCKS";
    rev = "da5be0e48f82097044894247343cef2111f13c7a";
    hash = "sha256-3jvMVsoKgBN4eRc6hyj7X/uu7NoJvofsbljVcgGfcPc=";
  };

  build-system = [ setuptools ];

  dependencies = [ pyasyncore ];

  # Module has no tests
  doCheck = false;

  pythonImportsCheck = [ "secretsocks" ];

  meta = {
    description = "Socks server for tunneling a connection over another channel";
    homepage = "https://github.com/BC-SECURITY/PySecretSOCKS";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ fab ];
  };
}
+37 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pytestCheckHook,
  regex,
  setuptools,
}:

buildPythonPackage rec {
  pname = "python-obfuscator";
  version = "0.0.2";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "davidteather";
    repo = "python-obfuscator";
    tag = "V${version}";
    hash = "sha256-LUD+9vNd1sdigbKG2tm5hE3zLtmor/2LqsIarUWS2Ek=";
  };

  build-system = [ setuptools ];

  dependencies = [ regex ];

  nativeCheckInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "python_obfuscator" ];

  meta = {
    description = "Module to obfuscate code";
    homepage = "https://github.com/davidteather/python-obfuscator";
    changelog = "https://github.com/davidteather/python-obfuscator/releases/tag/${src.tag}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ fab ];
  };
}
+42 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pytestCheckHook,
  setuptools,
  sqlalchemy,
}:

buildPythonPackage rec {
  pname = "sqlalchemy-utc";
  version = "0.14.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "spoqa";
    repo = "sqlalchemy-utc";
    tag = version;
    hash = "sha256-ZtUuwUDgd/ngOQoWu8IgOldTbTGoFbv5Y0Hyha1KTrE=";
  };

  build-system = [ setuptools ];

  dependencies = [ sqlalchemy ];

  nativeCheckInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "sqlalchemy_utc" ];

  disabledTests = [
    # ArgumentError
    "test_utcnow_timezone"
  ];

  meta = {
    description = "SQLAlchemy type to store aware datetime values";
    homepage = "https://github.com/spoqa/sqlalchemy-utc";
    changelog = "https://github.com/spoqa/sqlalchemy-utc/blob/${src.tag}/CHANGES.rst";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ fab ];
  };
}
+32 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchPypi,
  setuptools,
}:

buildPythonPackage rec {
  pname = "zlib-wrapper";
  version = "0.1.3";
  pyproject = true;

  src = fetchPypi {
    pname = "zlib_wrapper";
    inherit version;
    hash = "sha256-Yxqc7fSDdnAPlGLzTbgcEQxiTKJDSJmPgm0eV62JiGQ=";
  };

  build-system = [ setuptools ];

  # Module has no tests
  doCheck = false;

  pythonImportsCheck = [ "zlib_wrapper" ];

  meta = {
    description = "Wrapper around zlib with custom header crc32";
    homepage = "https://pypi.org/project/zlib_wrapper/";
    license = lib.licenses.bsd3;
    maintainers = with lib.maintainers; [ fab ];
  };
}
Loading