diff options
author | Pavol Rusnak <pavol@rusnak.io> | 2019-10-27 16:55:05 +0100 |
---|---|---|
committer | Jon <jonringer@users.noreply.github.com> | 2019-10-27 23:00:55 -0700 |
commit | c5ed4a8b2902aaf519f037742cae03f224f0cc1a (patch) | |
tree | 68db02b0a483872fa9f81338a10e7388dfbd807e /pkgs | |
parent | ac2d736b3ad8c3fec43a5d3ae2389a2602645400 (diff) |
pythonPackages.py3buddy: cleanup, call toPythonModule
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/py3buddy/default.nix | 8 | ||||
-rw-r--r-- | pkgs/top-level/python-packages.nix | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/py3buddy/default.nix b/pkgs/development/python-modules/py3buddy/default.nix index 69c4c46dbc9c..459922c9bafd 100644 --- a/pkgs/development/python-modules/py3buddy/default.nix +++ b/pkgs/development/python-modules/py3buddy/default.nix @@ -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 ]; }; } diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index ed70074a86da..5101d2c082fd 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -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 { }; |