bencodepy on nix store

This commit is contained in:
Danilo Reyes 2024-12-27 01:45:55 -06:00
parent b90636dc63
commit 4085b23994

View File

@ -1,34 +0,0 @@
{
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";
};
}