organized pkgs by packaging tests and awaiting pr

This commit is contained in:
2024-12-15 00:28:06 -06:00
parent 7e658479f8
commit 850550ae9a
7 changed files with 82 additions and 1 deletions

34
pkgs_wip/bencodepy.nix Normal file
View File

@@ -0,0 +1,34 @@
{
lib,
python3,
fetchPypi,
}:
python3.pkgs.buildPythonApplication rec {
pname = "bencodepy";
version = "0.9.5";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-r0chNNc+pY7as8LLLyz2HrnXg5CChMPS1bHP0434ZLg=";
extension = "zip";
};
build-system = [
python3.pkgs.setuptools
python3.pkgs.wheel
];
pythonImportsCheck = [
"bencodepy"
];
meta = {
description = "Bencode encoder/decoder written in Python 3 under the GPLv2";
homepage = "https://pypi.org/project/bencodepy/";
license = lib.licenses.gpl2Only;
maintainers = with lib.maintainers; [ CaptainJawZ ];
mainProgram = "bencodepy";
};
}