pythonPackages.pybluez: refactor move to python-modules
This commit is contained in:
parent
04169f4c3c
commit
0c1af32ed6
29
pkgs/development/python-modules/pybluez/default.nix
Normal file
29
pkgs/development/python-modules/pybluez/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -2068,29 +2068,7 @@ in {
|
|||||||
|
|
||||||
pyblake2 = callPackage ../development/python-modules/pyblake2 { };
|
pyblake2 = callPackage ../development/python-modules/pyblake2 { };
|
||||||
|
|
||||||
pybluez = buildPythonPackage rec {
|
pybluez = callPackage ../development/python-modules/pybluez { };
|
||||||
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 ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
pycares = buildPythonPackage rec {
|
pycares = buildPythonPackage rec {
|
||||||
name = "pycares-${version}";
|
name = "pycares-${version}";
|
||||||
|
Loading…
Reference in New Issue
Block a user