bencodepy on nix store
This commit is contained in:
parent
b90636dc63
commit
4085b23994
@ -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";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
Loading…
x
Reference in New Issue
Block a user