From 888290d17eba62fa178962c687546230819e7863 Mon Sep 17 00:00:00 2001 From: Rouven Czerwinski Date: Sat, 4 Jan 2020 07:15:08 +0100 Subject: [PATCH 1/2] add emantor to maintainer-list.nix --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 2bcf0cccb3a7..c73133488213 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -1983,6 +1983,12 @@ githubId = 50854; name = "edef"; }; + emantor = { + email = "rouven+nixos@czerwinskis.de"; + github = "emantor"; + githubId = 934284; + name = "Rouven Czerwinski"; + }; embr = { email = "hi@liclac.eu"; github = "liclac"; From b656da1683bdbdec4dd6df4c1588986c8c0022e0 Mon Sep 17 00:00:00 2001 From: Rouven Czerwinski Date: Sat, 4 Jan 2020 08:12:06 +0100 Subject: [PATCH 2/2] pythonPackages.xmodem: init at 0.4.5 --- .../python-modules/xmodem/default.nix | 26 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 28 insertions(+) create mode 100644 pkgs/development/python-modules/xmodem/default.nix diff --git a/pkgs/development/python-modules/xmodem/default.nix b/pkgs/development/python-modules/xmodem/default.nix new file mode 100644 index 000000000000..00a0bfb60439 --- /dev/null +++ b/pkgs/development/python-modules/xmodem/default.nix @@ -0,0 +1,26 @@ +{ stdenv, buildPythonPackage, fetchFromGitHub, pytest, which, lrzsz }: + +buildPythonPackage rec { + pname = "xmodem"; + version = "0.4.5"; + + src = fetchFromGitHub { + owner = "tehmaze"; + repo = "xmodem"; + rev = version; + sha256 = "0nz2gxwaq3ys1knpw6zlz3xrc3ziambcirg3fmp3nvzjdq8ma3h0"; + }; + + checkInputs = [ pytest which lrzsz ]; + + checkPhase = '' + pytest + ''; + + meta = with stdenv.lib; { + description = "Pure python implementation of the XMODEM protocol"; + maintainers = with maintainers; [ emantor ]; + homepage = https://github.com/tehmaze/xmodem; + license = licenses.mit; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index e7b1c4d54686..41563b95bbe0 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -6220,6 +6220,8 @@ in { xlsx2csv = callPackage ../development/python-modules/xlsx2csv { }; + xmodem = callPackage ../development/python-modules/xmodem {}; + xmpppy = callPackage ../development/python-modules/xmpppy {}; xstatic = callPackage ../development/python-modules/xstatic {};