mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 19:21:04 +00:00
icoextract: migrate to by-name
icoextract is primarily a command-line tool. Also removes the no longer required pythonOlder check.
This commit is contained in:
parent
6701c2c867
commit
a4630ce475
|
@ -1,29 +1,23 @@
|
|||
{
|
||||
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
|
||||
];
|
|
@ -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 { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue