pythonPackages.xcaplib: refactor move to python-modules
This commit is contained in:
parent
f6aedb3d67
commit
8bf7a83aae
28
pkgs/development/python-modules/xcaplib/default.nix
Normal file
28
pkgs/development/python-modules/xcaplib/default.nix
Normal 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;
|
||||
};
|
||||
|
||||
}
|
@ -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}";
|
||||
|
Loading…
x
Reference in New Issue
Block a user