pythonPackages.pyliblo: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-26 11:11:51 -04:00 committed by Frederik Rietdijk
parent 3c19bb493f
commit 74daf007a4
2 changed files with 27 additions and 19 deletions

View file

@ -0,0 +1,26 @@
{ stdenv
, buildPythonPackage
, fetchurl
, isPyPy
, pkgs
}:
buildPythonPackage rec {
pname = "pyliblo";
version = "0.9.2";
disabled = isPyPy;
src = fetchurl {
url = "http://das.nasophon.de/download/${pname}-${version}.tar.gz";
sha256 = "382ee7360aa00aeebf1b955eef65f8491366657a626254574c647521b36e0eb0";
};
propagatedBuildInputs = [ pkgs.liblo ];
meta = with stdenv.lib; {
homepage = http://das.nasophon.de/pyliblo/;
description = "Python wrapper for the liblo OSC library";
license = licenses.lgpl21;
};
}

View file

@ -3455,25 +3455,7 @@ in {
pylibgen = callPackage ../development/python-modules/pylibgen { };
pyliblo = buildPythonPackage rec {
name = "pyliblo-${version}";
version = "0.9.2";
disabled = isPyPy;
src = pkgs.fetchurl {
url = "http://das.nasophon.de/download/${name}.tar.gz";
sha256 = "382ee7360aa00aeebf1b955eef65f8491366657a626254574c647521b36e0eb0";
};
propagatedBuildInputs = with self ; [ pkgs.liblo ];
meta = {
homepage = http://das.nasophon.de/pyliblo/;
description = "Python wrapper for the liblo OSC library";
license = licenses.lgpl21;
};
};
pyliblo = callPackage ../development/python-modules/pyliblo { };
pypcap = callPackage ../development/python-modules/pypcap {};