Unverified Commit 6bb1b055 authored by dotlambda's avatar dotlambda Committed by GitHub
Browse files

python3Packages.pymobiledevice3: init at 4.27.3 (#451546)

parents 2fa8510f 0b6914ed
Loading
Loading
Loading
Loading
+43 −0
Original line number Diff line number Diff line
{
  buildPythonPackage,
  click,
  fetchFromGitHub,
  lib,
  loguru,
  poetry-core,
}:

buildPythonPackage rec {
  pname = "apple-compress";
  version = "0.2.3";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "m1stadev";
    repo = "apple-compress";
    tag = "v${version}";
    hash = "sha256-uM5HFkhvzAIfdAglPUvJfckngjUPSZqydyVcPcdtyfs=";
  };

  build-system = [ poetry-core ];

  dependencies = [
    click
    loguru
  ];

  pythonImportsCheck = [ "apple_compress" ];

  # upstream has no tests
  doCheck = false;

  meta = {
    changelog = "https://github.com/m1stadev/apple-compress/releases/tag/${src.tag}";
    description = "Python bindings for Apple's libcompression";
    homepage = "https://github.com/m1stadev/apple-compress";
    license = lib.licenses.mit;
    mainProgram = "acompress";
    maintainers = [ lib.maintainers.dotlambda ];
    platforms = lib.platforms.darwin;
  };
}
+3 −3
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@

buildPythonPackage rec {
  pname = "asn1";
  version = "3.1.0";
  version = "2.8.0";
  pyproject = true;

  disabled = pythonOlder "3.7";
@@ -18,7 +18,7 @@ buildPythonPackage rec {
    owner = "andrivet";
    repo = "python-asn1";
    tag = "v${version}";
    hash = "sha256-yDX2TydMtqIE4A4QUmKPJKLM1UdXxp0qFBJx08Ri2YQ=";
    hash = "sha256-DLKfdQzYLhfaIEPPymTzRqj3+L/fsm5Jh8kqud/ezfw=";
  };

  build-system = [ setuptools ];
@@ -34,7 +34,7 @@ buildPythonPackage rec {
  meta = with lib; {
    description = "Python ASN.1 encoder and decoder";
    homepage = "https://github.com/andrivet/python-asn1";
    changelog = "https://github.com/andrivet/python-asn1/blob/${src.tag}/CHANGELOG.rst";
    changelog = "https://github.com/andrivet/python-asn1/blob/v${version}/CHANGELOG.rst";
    license = licenses.mit;
    maintainers = with maintainers; [ fab ];
  };
+45 −0
Original line number Diff line number Diff line
{
  buildPythonPackage,
  fetchPypi,
  lib,
  pytestCheckHook,
  requests,
  setuptools,
  setuptools-scm,
}:

buildPythonPackage rec {
  pname = "developer-disk-image";
  version = "0.2.0";
  pyproject = true;

  # GitHub archive is way too large
  src = fetchPypi {
    pname = "developer_disk_image";
    inherit version;
    hash = "sha256-21aLIuwznYtWsprptCAjDq4yL+ab50zZn9Dv+w7y4o8=";
  };

  build-system = [
    setuptools
    setuptools-scm
  ];

  dependencies = [
    requests
  ];

  pythonImportsCheck = [ "developer_disk_image" ];

  # tests connect to github.com
  doCheck = false;

  meta = {
    changelog = "https://github.com/doronz88/DeveloperDiskImage/releases/tag/v${version}";
    description = "Download DeveloperDiskImage ans Personalized images from GitHub";
    homepage = "https://github.com/doronz88/DeveloperDiskImage";
    license = lib.licenses.gpl3Plus;
    mainProgram = "developer_disk_image";
    maintainers = [ lib.maintainers.dotlambda ];
  };
}
+47 −0
Original line number Diff line number Diff line
{
  blessed,
  buildPythonPackage,
  editor,
  fetchFromGitHub,
  lib,
  pexpect,
  poetry-core,
  pytestCheckHook,
  readchar,
}:

buildPythonPackage rec {
  pname = "inquirer3";
  version = "0.6.1";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "guysalt";
    repo = "python-inquirer3";
    tag = "v${version}";
    hash = "sha256-IReJlwVgjTlTlD0xTVWrzQ0ITvCQvPJ86zCmffaoPk4=";
  };

  build-system = [ poetry-core ];

  dependencies = [
    blessed
    editor
    readchar
  ];

  pythonImportsCheck = [ "inquirer3" ];

  nativeCheckInputs = [
    pexpect
    pytestCheckHook
  ];

  meta = {
    changelog = "https://github.com/guysalt/python-inquirer3/releases/tag/${src.tag}";
    description = "Collection of common interactive command line user interfaces, based on Inquirer.js";
    homepage = "https://github.com/guysalt/python-inquirer3";
    license = lib.licenses.mit;
    maintainers = [ lib.maintainers.dotlambda ];
  };
}
+63 −0
Original line number Diff line number Diff line
{
  buildPythonPackage,
  cached-property,
  click,
  coloredlogs,
  construct,
  fetchFromGitHub,
  lib,
  plumbum,
  pyimg4,
  remotezip2,
  requests,
  setuptools,
  setuptools-scm,
}:

buildPythonPackage rec {
  pname = "ipsw-parser";
  version = "1.4.4";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "doronz88";
    repo = "ipsw_parser";
    tag = "v${version}";
    hash = "sha256-B9T7c2xzUrzh5BxS7b3rpmPcUDT8Qmb4/5XTMfrOcR8=";
  };

  build-system = [
    setuptools
    setuptools-scm
  ];

  dependencies = [
    cached-property
    click
    coloredlogs
    construct
    plumbum
    pyimg4
    remotezip2
    requests
  ];

  pythonImportsCheck = [ "ipsw_parser" ];

  checkPhase = ''
    runHook preCheck

    "$out"/bin/${meta.mainProgram} --help

    runHook postCheck
  '';

  meta = {
    changelog = "https://github.com/doronz88/ipsw_parser/releases/tag/${src.tag}";
    description = "Python3 utility for parsing and extracting data from IPSW";
    homepage = "https://github.com/doronz88/ipsw_parser";
    license = lib.licenses.gpl3Plus;
    mainProgram = "ipsw-parser";
    maintainers = [ lib.maintainers.dotlambda ];
  };
}
Loading