mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-10 07:13:38 +00:00
https://github.com/pR0Ps/iterable-io/blob/refs/tags/v1.0.4/CHANGELOG.md https://github.com/pR0Ps/iterable-io/compare/refs/tags/v1.0.1...refs/tags/v1.0.4
35 lines
819 B
Nix
35 lines
819 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
hatchling,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "iterable-io";
|
|
version = "1.0.4";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pR0Ps";
|
|
repo = "iterable-io";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-6qhizeRZONxEthkk468U6Lh7ES7kgWDBfwsdZm5tuX8=";
|
|
};
|
|
|
|
nativeBuildInputs = [ hatchling ];
|
|
|
|
pythonImportsCheck = [ "iterableio" ];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
meta = {
|
|
description = "Library to adapt iterables to a file-like interface";
|
|
homepage = "https://github.com/pR0Ps/iterable-io";
|
|
changelog = "https://github.com/pR0Ps/iterable-io/blob/${finalAttrs.src.rev}/CHANGELOG.md";
|
|
license = lib.licenses.lgpl3Only;
|
|
maintainers = [ lib.maintainers.mjoerg ];
|
|
};
|
|
})
|