evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / txi2p-tahoe / default.nix
blob751facddfd1aa480263c254a3021efa603c11245
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   setuptools,
6   setuptools-scm,
7   parsley,
8   twisted,
9   python,
12 buildPythonPackage rec {
13   pname = "txi2p-tahoe";
14   version = "0.3.7";
16   format = "pyproject";
18   src = fetchFromGitHub {
19     owner = "tahoe-lafs";
20     repo = "txi2p";
21     rev = "refs/tags/${version}";
22     hash = "sha256-u/IOhxK9jWC/tTKKLsc4PexbCuki+yEtMNw7LuQKmuk=";
23   };
25   nativeBuildInputs = [
26     setuptools
27     setuptools-scm
28   ];
30   propagatedBuildInputs = [
31     parsley
32     twisted
33   ];
35   pythonImportsCheck = [ "txi2p" ];
37   checkPhase = ''
38     runHook preCheck
39     ${python.interpreter} -m twisted.trial txi2p
40     runHook postCheck
41   '';
43   meta = {
44     description = "I2P bindings for Twisted";
45     homepage = "https://github.com/tahoe-lafs/txi2p";
46     license = lib.licenses.isc;
47     maintainers = with lib.maintainers; [ dotlambda ];
48   };