pythonPackages.msrplib: refactor move to python-modules
This commit is contained in:
parent
b11138d594
commit
616137d77f
27
pkgs/development/python-modules/msrplib/default.nix
Normal file
27
pkgs/development/python-modules/msrplib/default.nix
Normal 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;
|
||||
};
|
||||
|
||||
}
|
@ -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 { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user