9 rustPlatform.buildRustPackage rec {
13 src = fetchFromGitHub {
17 hash = "sha256-F8Uc2BsQ5f7yaUXXDhLvyyYKUDAuvP9cCR2h3vblr0g=";
20 cargoHash = "sha256-b3B1LMa3gIL2xF9GL7jLXagesC9FEQHb8drocgx2MqY=";
22 nativeBuildInputs = [ pkg-config ];
23 buildInputs = [ dbus.dev ];
26 substituteInPlace src/main.rs \
27 --replace-fail '/usr/share/locale' $out/share/locale
31 mkdir -p $out/etc/xdg/autostart
32 mkdir -p $out/usr/share/local
33 cp io.github.zefr0x.ianny.desktop $out/etc/xdg/autostart/
37 description = "Desktop utility that helps preventing repetitive strain injuries by keeping track of usage patterns and periodically informing the user to take breaks";
38 homepage = "https://github.com/zefr0x/ianny";
39 license = licenses.gpl3;
40 mainProgram = "ianny";
41 maintainers = with maintainers; [ max-amb ];
42 platforms = platforms.linux;