Skip to content

Commit

Permalink
python313Packages.standard-imghdr: init at 3.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Bot-wxt1221 committed Dec 26, 2024
1 parent f573186 commit b3e1fe0
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
39 changes: 39 additions & 0 deletions pkgs/development/python-modules/standard-imghdr/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
buildPythonPackage,
lib,
fetchFromGitHub,
setuptools,
pytestCheckHook,
}:

buildPythonPackage rec {
pname = "standard-imghdr";
version = "3.13.0";

src = fetchFromGitHub {
owner = "youknowone";
repo = "python-deadlib";
tag = "v${version}";
hash = "sha256-vhGFTd1yXL4Frqli5D1GwOatwByDjvcP8sxgkdu6Jqg=";
};

sourceRoot = "${src.name}/imghdr";

pyproject = true;

build-system = [
setuptools
];

nativeCheckInputs = [
pytestCheckHook
];

meta = {
homepage = "https://github.com/youknowone/python-deadlib";
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ bot-wxt1221 ];
description = "Standard library imghdr redistribution.";
license = lib.licenses.psfl;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15419,6 +15419,8 @@ self: super: with self; {

stamina = callPackage ../development/python-modules/stamina { };

standard-imghdr = callPackage ../development/python-modules/standard-imghdr { };

stanio = callPackage ../development/python-modules/stanio { };

stanza = callPackage ../development/python-modules/stanza { };
Expand Down

0 comments on commit b3e1fe0

Please sign in to comment.