mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
pythonPackages.lightblue: refactor move to python-modules
This commit is contained in:
parent
9163ad5f97
commit
44353b0e0d
2 changed files with 28 additions and 24 deletions
27
pkgs/development/python-modules/lightblue/default.nix
Normal file
27
pkgs/development/python-modules/lightblue/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchurl
|
||||||
|
, pkgs
|
||||||
|
, isPy3k
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "lightblue";
|
||||||
|
version = "0.4";
|
||||||
|
disabled = isPy3k; # build fails, 2018-04-11
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.gz";
|
||||||
|
sha256 = "016h1mlhpqxjj25lcvl4fqc19k8ifmsv6df7rhr12fyfcrp5i14d";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ pkgs.bluez pkgs.openobex ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = http://lightblue.sourceforge.net;
|
||||||
|
description = "Cross-platform Bluetooth API for Python";
|
||||||
|
maintainers = with maintainers; [ leenaars ];
|
||||||
|
license = licenses.gpl3;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
|
@ -1942,30 +1942,6 @@ in {
|
||||||
|
|
||||||
libsoundtouch = callPackage ../development/python-modules/libsoundtouch { };
|
libsoundtouch = callPackage ../development/python-modules/libsoundtouch { };
|
||||||
|
|
||||||
lightblue = buildPythonPackage rec {
|
|
||||||
pname = "lightblue";
|
|
||||||
version = "0.4";
|
|
||||||
name = "${pname}-${version}";
|
|
||||||
disabled = isPy3k; # build fails, 2018-04-11
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://sourceforge/${pname}/${name}.tar.gz";
|
|
||||||
sha256 = "016h1mlhpqxjj25lcvl4fqc19k8ifmsv6df7rhr12fyfcrp5i14d";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = [ pkgs.bluez pkgs.openobex ];
|
|
||||||
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
homepage = http://lightblue.sourceforge.net;
|
|
||||||
description = "Cross-platform Bluetooth API for Python";
|
|
||||||
maintainers = with maintainers; [ leenaars ];
|
|
||||||
license = licenses.gpl3;
|
|
||||||
platforms = platforms.all;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
lightning = buildPythonPackage rec {
|
lightning = buildPythonPackage rec {
|
||||||
version = "1.2.1";
|
version = "1.2.1";
|
||||||
name = "lightning-python-${version}";
|
name = "lightning-python-${version}";
|
||||||
|
@ -2001,6 +1977,7 @@ in {
|
||||||
url = "mirror://pypi/j/jupyter/${name}.tar.gz";
|
url = "mirror://pypi/j/jupyter/${name}.tar.gz";
|
||||||
sha256 = "d9dc4b3318f310e34c82951ea5d6683f67bed7def4b259fafbfe4f1beb1d8e5f";
|
sha256 = "d9dc4b3318f310e34c82951ea5d6683f67bed7def4b259fafbfe4f1beb1d8e5f";
|
||||||
};
|
};
|
||||||
|
lightblue = callPackage ../development/python-modules/lightblue { };
|
||||||
|
|
||||||
propagatedBuildInputs = with self; [
|
propagatedBuildInputs = with self; [
|
||||||
notebook
|
notebook
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue