pythonPackages.lxc: refactor move to python-modules
This commit is contained in:
parent
3f60a4cce4
commit
93e026ce04
29
pkgs/development/python-modules/lxc/default.nix
Normal file
29
pkgs/development/python-modules/lxc/default.nix
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, isPy3k
|
||||||
|
, pkgs
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "python-lxc-unstable";
|
||||||
|
version = "2016-08-25";
|
||||||
|
disabled = isPy3k;
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "lxc";
|
||||||
|
repo = "python2-lxc";
|
||||||
|
rev = "0553f05d23b56b59bf3015fa5e45bfbfab9021ef";
|
||||||
|
sha256 = "0p9kb20xvq91gx2wfs3vppb7vsp8kmd90i3q95l4nl1y4aismdn4";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ pkgs.lxc ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Out of tree python 2.7 binding for liblxc";
|
||||||
|
homepage = https://github.com/lxc/python2-lxc;
|
||||||
|
license = licenses.lgpl2;
|
||||||
|
maintainers = with maintainers; [ mic92 ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -5765,26 +5765,7 @@ in {
|
|||||||
|
|
||||||
lxml = callPackage ../development/python-modules/lxml {inherit (pkgs) libxml2 libxslt;};
|
lxml = callPackage ../development/python-modules/lxml {inherit (pkgs) libxml2 libxslt;};
|
||||||
|
|
||||||
lxc = buildPythonPackage (rec {
|
lxc = callPackage ../development/python-modules/lxc { };
|
||||||
name = "python-lxc-unstable-2016-08-25";
|
|
||||||
disabled = !isPy27;
|
|
||||||
|
|
||||||
src = pkgs.fetchFromGitHub {
|
|
||||||
owner = "lxc";
|
|
||||||
repo = "python2-lxc";
|
|
||||||
rev = "0553f05d23b56b59bf3015fa5e45bfbfab9021ef";
|
|
||||||
sha256 = "0p9kb20xvq91gx2wfs3vppb7vsp8kmd90i3q95l4nl1y4aismdn4";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = [ pkgs.lxc ];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Out of tree python 2.7 binding for liblxc";
|
|
||||||
homepage = https://github.com/lxc/python2-lxc;
|
|
||||||
license = licenses.lgpl2;
|
|
||||||
maintainers = with maintainers; [ mic92 ];
|
|
||||||
};
|
|
||||||
});
|
|
||||||
|
|
||||||
py_scrypt = callPackage ../development/python-modules/py_scrypt { };
|
py_scrypt = callPackage ../development/python-modules/py_scrypt { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user