Merge pull request #76924 from Emantor/pkg/python-xmodem

pythonPackages.xmodem: init at 0.4.5
This commit is contained in:
markuskowa 2020-01-07 20:10:06 +01:00 committed by GitHub
commit f8193b165f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 34 additions and 0 deletions

View File

@ -1983,6 +1983,12 @@
githubId = 50854; githubId = 50854;
name = "edef"; name = "edef";
}; };
emantor = {
email = "rouven+nixos@czerwinskis.de";
github = "emantor";
githubId = 934284;
name = "Rouven Czerwinski";
};
embr = { embr = {
email = "hi@liclac.eu"; email = "hi@liclac.eu";
github = "liclac"; github = "liclac";

View File

@ -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;
};
}

View File

@ -6294,6 +6294,8 @@ in {
xlsx2csv = callPackage ../development/python-modules/xlsx2csv { }; xlsx2csv = callPackage ../development/python-modules/xlsx2csv { };
xmodem = callPackage ../development/python-modules/xmodem {};
xmpppy = callPackage ../development/python-modules/xmpppy {}; xmpppy = callPackage ../development/python-modules/xmpppy {};
xstatic = callPackage ../development/python-modules/xstatic {}; xstatic = callPackage ../development/python-modules/xstatic {};