~ruther/nixos-config

ref: d7546970bd34c28ce3bcf4ec4448cdfbead24821 nixos-config/pkgs/rutherther/mpris-ctl.nix -rw-r--r-- 573 bytes
d7546970 — Frantisek Bohacek refactor: split qtile configuration 1 year, 22 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{ pkgs
, rustPlatform
, pkg-config
, dbus
, rustfmt
, cargo
, rustc
}:

rustPlatform.buildRustPackage rec {
  name = "mpris-ctl";
  version = "0.1.0";

  src = pkgs.fetchFromGitHub {
    owner = "Rutherther";
    repo = "mpris-ctl";
    rev = "c5731a17d99553d79810791e5a5aff61344669d5";
    hash = "sha256-vxNpZ6VsGxqFoxl1IpWTqU4iS2g4rfepLXuzPrpvbko=";
  };

  cargoHash = "sha256-QvnaySHqErWuwPBzd1l/asfBbt86c53TKwIyFBvBwQ0=";

  nativeBuildInputs = [
    rustfmt
    pkg-config
    cargo
    rustc
    dbus
  ];

  checkInputs = [ cargo rustc dbus ];
  doCheck = true;
}
Do not follow this link