Unverified Commit a4630ce4 authored by Donovan Glover's avatar Donovan Glover
Browse files

icoextract: migrate to by-name

icoextract is primarily a command-line tool.

Also removes the no longer required pythonOlder check.
parent 6701c2c8
Loading
Loading
Loading
Loading
+4 −10
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  python3Packages,
  fetchPypi,
  pefile,
  pillow,
  pythonOlder,
  setuptools,
}:

buildPythonPackage rec {
python3Packages.buildPythonApplication rec {
  pname = "icoextract";
  version = "0.1.5";
  pyproject = true;

  disabled = pythonOlder "3.8";

  src = fetchPypi {
    inherit pname version;
    extension = "tar.gz";
    hash = "sha256-/UxnWNyRNtwI4Rxx97i5QyjeMrUr5Sq+TfLTmU0xWyc=";
  };

  build-system = [ setuptools ];
  build-system = with python3Packages; [ setuptools ];

  dependencies = [
  dependencies = with python3Packages; [
    pefile
    pillow
  ];
+3 −1
Original line number Diff line number Diff line
@@ -5755,7 +5755,9 @@ self: super: with self; {
  idasen = callPackage ../development/python-modules/idasen { };
  icoextract = callPackage ../development/python-modules/icoextract { };
  icoextract = toPythonModule (pkgs.icoextract.override {
    python3Packages = self;
  });
  icontract = callPackage ../development/python-modules/icontract { };