nixpkgs-suyu/pkgs/os-specific/linux/libratbag/default.nix
R. RyanTM ca691e8f42 libratbag: 0.9.904 -> 0.9.905 (#57292)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/libratbag/versions
2019-03-27 23:10:10 +01:00

35 lines
939 B
Nix

{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig
, glib, systemd, udev, libevdev, gitMinimal, check, valgrind, swig, python3 }:
stdenv.mkDerivation rec {
name = "libratbag-${version}";
version = "0.9.905";
src = fetchFromGitHub {
owner = "libratbag";
repo = "libratbag";
rev = "v${version}";
sha256 = "0bh1nf9sv7wka0vh5bz9krf2cfxz0rr64hrpdm7imsb6cn39k01y";
};
nativeBuildInputs = [
meson ninja pkgconfig gitMinimal swig check valgrind
];
buildInputs = [
glib systemd udev libevdev
(python3.withPackages (ps: with ps; [ evdev pygobject3 ]))
];
mesonFlags = [
"-Dsystemd-unit-dir=./lib/systemd/system/"
];
meta = with stdenv.lib; {
description = "Configuration library for gaming mice";
homepage = https://github.com/libratbag/libratbag;
license = licenses.mit;
maintainers = with maintainers; [ mvnetbiz ];
platforms = platforms.linux;
};
}