pythonPackages.msrplib: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-16 18:34:14 -04:00 committed by Frederik Rietdijk
parent b11138d594
commit 616137d77f
2 changed files with 28 additions and 13 deletions

View File

@ -0,0 +1,27 @@
{ stdenv
, buildPythonPackage
, fetchdarcs
, eventlib
, application
, gnutls
}:
buildPythonPackage rec {
pname = "python-msrplib";
version = "0.19";
src = fetchdarcs {
url = "http://devel.ag-projects.com/repositories/${pname}";
rev = "release-${version}";
sha256 = "0jqvvssbwzq7bwqn3wrjfnpj8zb558mynn2visnlrcma6b57yhwd";
};
propagatedBuildInputs = [ eventlib application gnutls ];
meta = with stdenv.lib; {
homepage = https://github.com/AGProjects/python-msrplib;
description = "Client library for MSRP protocol and its relay extension (RFC 4975 and RFC4976)";
license = licenses.lgpl3;
};
}

View File

@ -2843,19 +2843,7 @@ in {
'';
};
msrplib = buildPythonPackage rec {
pname = "python-msrplib";
name = "${pname}-${version}";
version = "0.19";
src = pkgs.fetchdarcs {
url = "http://devel.ag-projects.com/repositories/${pname}";
rev = "release-${version}";
sha256 = "0jqvvssbwzq7bwqn3wrjfnpj8zb558mynn2visnlrcma6b57yhwd";
};
propagatedBuildInputs = with self; [ eventlib application gnutls ];
};
msrplib = callPackage ../development/python-modules/msrplib { };
multipledispatch = callPackage ../development/python-modules/multipledispatch { };