Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09-beta 26 lines 497 B view raw
1{ buildPythonPackage 2, dbus-python 3, fetchFromGitHub 4, numpy 5, stdenv 6, openrazer-daemon 7}: 8 9let 10 common = import ./common.nix { inherit stdenv fetchFromGitHub; }; 11in 12buildPythonPackage (common // rec { 13 pname = "openrazer"; 14 15 sourceRoot = "source/pylib"; 16 17 propagatedBuildInputs = [ 18 dbus-python 19 numpy 20 openrazer-daemon 21 ]; 22 23 meta = common.meta // { 24 description = "An entirely open source Python library that allows you to manage your Razer peripherals on GNU/Linux"; 25 }; 26})