diff --git a/pkgs/development/python-modules/tftpy/default.nix b/pkgs/development/python-modules/tftpy/default.nix new file mode 100644 index 000000000000..92589c8cfc22 --- /dev/null +++ b/pkgs/development/python-modules/tftpy/default.nix @@ -0,0 +1,28 @@ +{ lib +, buildPythonPackage +, fetchPypi +, setuptools +}: + +buildPythonPackage rec { + pname = "tftpy"; + version = "0.8.2"; + format = "pyproject"; + + src = fetchPypi { + inherit pname version; + hash = "sha256-4dGmgO/YjroXazURdYRCUwZzkqmw+LgViOP/K557u1s="; + }; + + nativeBuildInputs = [ setuptools ]; + + pythonImportsCheck = [ "tftpy" ]; + + meta = { + description = "Pure Python TFTP library"; + homepage = "https://github.com/msoulier/tftpy"; + changelog = "https://github.com/msoulier/tftpy/releases/tag/${version}"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ otavio ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index ac26d7767841..718d366e58a3 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -12003,6 +12003,8 @@ self: super: with self; { tflearn = callPackage ../development/python-modules/tflearn { }; + tftpy = callPackage ../development/python-modules/tftpy { }; + tgcrypto = callPackage ../development/python-modules/tgcrypto { }; theano-pymc = callPackage ../development/python-modules/theano-pymc { };