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;
installPhase = ''
install -D py3buddy.py $out/lib/${python.libPrefix}/site-packages/py3buddy.py
install -D py3buddy.py $out/${python.sitePackages}/py3buddy.py
'';
postInstall = ''
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";
homepage = "https://github.com/armijnhemel/py3buddy";
license = with stdenv.lib.licenses; [ mit ];
maintainers = with stdenv.lib.maintainers; [ prusnak ];
license = with licenses; [ mit ];
maintainers = with maintainers; [ prusnak ];
};
}

View file

@ -906,7 +906,7 @@ in {
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 { };