Unverified Commit 06287a53 authored by Robert Schütz's avatar Robert Schütz Committed by GitHub
Browse files

pytr: 0.3.1 -> 0.4.1; python312Packages.hatch-babel: init at 0.1.2 (#384298)

parents 864af89c 9eb38166
Loading
Loading
Loading
Loading
+7 −5
Original line number Diff line number Diff line
@@ -8,19 +8,19 @@

python3Packages.buildPythonApplication rec {
  pname = "pytr";
  version = "0.3.1";
  version = "0.4.1";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "pytr-org";
    repo = "pytr";
    tag = "v${version}";
    hash = "sha256-OFONjJXKkfb6+bQx5fhsadjm9WG62FISznnWL9IEY7I=";
    hash = "sha256-uWG8q6H6q54v3Iq5LOkr7zi5rds+y13O0ai9R9QySdI=";
  };

  build-system = with python3Packages; [
    babel
    setuptools
    hatchling
    hatch-babel
  ];

  dependencies = with python3Packages; [
@@ -46,10 +46,12 @@ python3Packages.buildPythonApplication rec {

  nativeCheckInputs = [ versionCheckHook ];

  versionCheckProgramArg = "--version";

  pythonImportsCheck = [ "pytr" ];

  meta = {
    changelog = "https://github.com/pytr-org/pytr/releases/tag/v${version}";
    changelog = "https://github.com/pytr-org/pytr/releases/tag/${src.tag}";
    description = "Use TradeRepublic in terminal and mass download all documents";
    homepage = "https://github.com/pytr-org/pytr";
    license = lib.licenses.mit;
+38 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  hatchling,
  babel,
  typing-extensions,
}:

buildPythonPackage rec {
  pname = "hatch-babel";
  version = "0.1.2";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "NiklasRosenstein";
    repo = "hatch-babel";
    tag = version;
    hash = "sha256-qAVuT3NuHAh1ELWzBT3/kvrDdSHqdy/YINCfKgpSk8g=";
  };

  build-system = [ hatchling ];

  dependencies = [
    babel
    typing-extensions
  ];

  pythonImportsCheck = [ "hatch_babel" ];

  meta = {
    description = "Hatch build-hook to compile Babel *.po files to *.mo files at build time";
    homepage = "https://github.com/NiklasRosenstein/hatch-babel";
    changelog = "https://github.com/NiklasRosenstein/hatch-babel/blob/${src.tag}/.changelog/${src.tag}.toml";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ dotlambda ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -5900,6 +5900,8 @@ self: super: with self; {
  hatchling = callPackage ../development/python-modules/hatchling { };
  hatch-babel = callPackage ../development/python-modules/hatch-babel { };
  hatch-fancy-pypi-readme = callPackage ../development/python-modules/hatch-fancy-pypi-readme { };
  hatch-jupyter-builder = callPackage ../development/python-modules/hatch-jupyter-builder { };