pythonPackages.pybluez: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-16 10:47:35 -04:00 committed by Frederik Rietdijk
parent 04169f4c3c
commit 0c1af32ed6
2 changed files with 30 additions and 23 deletions

View File

@ -0,0 +1,29 @@
{ stdenv
, buildPythonPackage
, fetchFromGitHub
, pkgs
}:
buildPythonPackage rec {
version = "unstable-20160819";
pname = "pybluez";
propagatedBuildInputs = [ pkgs.bluez ];
src = fetchFromGitHub {
owner = "karulis";
repo = "${pname}";
rev = "a0b226a61b166e170d48539778525b31e47a4731";
sha256 = "104dm5ngfhqisv1aszdlr3szcav2g3bhsgzmg4qfs09b3i5zj047";
};
# the tests do not pass
doCheck = false;
meta = with stdenv.lib; {
description = "Bluetooth Python extension module";
license = licenses.gpl2;
maintainers = with maintainers; [ leenaars ];
};
}

View File

@ -2068,29 +2068,7 @@ in {
pyblake2 = callPackage ../development/python-modules/pyblake2 { };
pybluez = buildPythonPackage rec {
version = "unstable-20160819";
pname = "pybluez";
name = "${pname}-${version}";
propagatedBuildInputs = with self; [ pkgs.bluez ];
src = pkgs.fetchFromGitHub {
owner = "karulis";
repo = "${pname}";
rev = "a0b226a61b166e170d48539778525b31e47a4731";
sha256 = "104dm5ngfhqisv1aszdlr3szcav2g3bhsgzmg4qfs09b3i5zj047";
};
# the tests do not pass
doCheck = false;
meta = {
description = "Bluetooth Python extension module";
license = licenses.gpl2;
maintainers = with maintainers; [ leenaars ];
};
};
pybluez = callPackage ../development/python-modules/pybluez { };
pycares = buildPythonPackage rec {
name = "pycares-${version}";