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