Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
726 B · 39 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940{ lib, buildPythonPackage, fetchPypi, python, pythonOlder, cython}:
buildPythonPackage rec { pname = "fastbencode"; version = "0.2"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi { inherit pname version; hash = "sha256-V465xHANZwXXH7yNfVe8os2Yfsos7B2ed7ngcC2x5W8="; };
nativeBuildInputs = [ cython ];
pythonImportsCheck = [ "fastbencode" ];
checkPhase = '' ${python.interpreter} -m unittest fastbencode.tests.test_suite '';
meta = with lib; { description = "Fast implementation of bencode"; homepage = "https://github.com/breezy-team/fastbencode"; license = licenses.gpl2Plus; maintainers = with maintainers; [ marsam ]; };}