sqlite_orm: 1.9 -> 1.9.1 (#379250)
[NixPkgs.git] / pkgs / by-name / ea / ear2ctl / package.nix
blob24f7b464969083961af32815bfd8bd2d509e1879
2   lib,
3   rustPlatform,
4   fetchFromGitLab,
5   pkg-config,
6   dbus,
7   nix-update-script,
8 }:
10 rustPlatform.buildRustPackage rec {
11   pname = "ear2ctl";
12   version = "0.1.0";
14   src = fetchFromGitLab {
15     owner = "bharadwaj-raju";
16     repo = "ear2ctl";
17     rev = version;
18     hash = "sha256-xaxl4opLMw9KEDpmNcgR1fBGUqO4BP5a/U52Kz+GAvc=";
19   };
21   cargoHash = "sha256-ax+/lvdEOjLnwE3Gvji7aaeF9KXjoOXdlTvxYDo8wGI=";
23   nativeBuildInputs = [ pkg-config ];
25   buildInputs = [ dbus ];
27   passthru.updateScript = nix-update-script { };
29   meta = {
30     description = "Linux controller for the Nothing Ear (2)";
31     homepage = "https://gitlab.com/bharadwaj-raju/ear2ctl";
32     maintainers = with lib.maintainers; [ jaredmontoya ];
33     license = lib.licenses.gpl3Plus;
34     platforms = lib.platforms.linux;
35     mainProgram = "ear2ctl";
36   };