pythonPackages.py3buddy: cleanup, call toPythonModule

This commit is contained in:
Pavol Rusnak 2019-10-27 16:55:05 +01:00 committed by Jon
parent ac2d736b3a
commit c5ed4a8b29
2 changed files with 5 additions and 5 deletions

View File

@ -22,17 +22,17 @@ stdenv.mkDerivation rec {
dontCheck = true; dontCheck = true;
installPhase = '' installPhase = ''
install -D py3buddy.py $out/lib/${python.libPrefix}/site-packages/py3buddy.py install -D py3buddy.py $out/${python.sitePackages}/py3buddy.py
''; '';
postInstall = '' postInstall = ''
install -D 99-ibuddy.rules $out/lib/udev/rules.d/99-ibuddy.rules install -D 99-ibuddy.rules $out/lib/udev/rules.d/99-ibuddy.rules
''; '';
meta = { meta = with stdenv.lib; {
description = "Code to work with the iBuddy MSN figurine"; description = "Code to work with the iBuddy MSN figurine";
homepage = "https://github.com/armijnhemel/py3buddy"; homepage = "https://github.com/armijnhemel/py3buddy";
license = with stdenv.lib.licenses; [ mit ]; license = with licenses; [ mit ];
maintainers = with stdenv.lib.maintainers; [ prusnak ]; maintainers = with maintainers; [ prusnak ];
}; };
} }

View File

@ -906,7 +906,7 @@ in {
pybind11 = callPackage ../development/python-modules/pybind11 { }; pybind11 = callPackage ../development/python-modules/pybind11 { };
py3buddy = callPackage ../development/python-modules/py3buddy { }; py3buddy = toPythonModule (callPackage ../development/python-modules/py3buddy { });
pybullet = callPackage ../development/python-modules/pybullet { }; pybullet = callPackage ../development/python-modules/pybullet { };