pythonPackages.xcaplib: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-29 09:49:03 -04:00
parent f6aedb3d67
commit 8bf7a83aae
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 29 additions and 14 deletions

View File

@ -0,0 +1,28 @@
{ stdenv
, buildPythonPackage
, fetchdarcs
, isPy3k
, eventlib
, application
}:
buildPythonPackage rec {
pname = "python-xcaplib";
version = "1.2.0";
disabled = isPy3k;
src = fetchdarcs {
url = "http://devel.ag-projects.com/repositories/${pname}";
rev = "release-${version}";
sha256 = "0vna5r4ihv7z1yx6r93954jqskcxky77znzy1m9dg9vna1dgwfdn";
};
propagatedBuildInputs = [ eventlib application ];
meta = with stdenv.lib; {
homepage = https://github.com/AGProjects/python-xcaplib;
description = "XCAP (RFC4825) client library";
license = licenses.gpl2;
};
}

View File

@ -4141,20 +4141,7 @@ in {
wxGTK = pkgs.wxGTK30;
};
xcaplib = buildPythonPackage rec {
pname = "python-xcaplib";
name = "${pname}-${version}";
version = "1.2.0";
disabled = isPy3k;
src = pkgs.fetchdarcs {
url = "http://devel.ag-projects.com/repositories/${pname}";
rev = "release-${version}";
sha256 = "0vna5r4ihv7z1yx6r93954jqskcxky77znzy1m9dg9vna1dgwfdn";
};
propagatedBuildInputs = with self; [ eventlib application ];
};
xcaplib = callPackage ../development/python-modules/xcaplib { };
xlib = buildPythonPackage (rec {
name = "xlib-${version}";