diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 90232dc5d409..186c0258328a 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -8988,6 +8988,11 @@ githubId = 3874017; name = "Jappie Klooster"; }; + jaredmontoya = { + name = "Jared Montoya"; + github = "jaredmontoya"; + githubId = 49511278; + }; jasoncarr = { email = "jcarr250@gmail.com"; github = "jasoncarr0"; diff --git a/pkgs/by-name/ea/ear2ctl/package.nix b/pkgs/by-name/ea/ear2ctl/package.nix new file mode 100644 index 000000000000..4d4e038f85f0 --- /dev/null +++ b/pkgs/by-name/ea/ear2ctl/package.nix @@ -0,0 +1,28 @@ +{ lib, rustPlatform, fetchFromGitLab, pkg-config, dbus }: + +rustPlatform.buildRustPackage rec { + pname = "ear2ctl"; + version = "0.1.0"; + + src = fetchFromGitLab { + owner = "bharadwaj-raju"; + repo = "ear2ctl"; + rev = version; + hash = "sha256-xaxl4opLMw9KEDpmNcgR1fBGUqO4BP5a/U52Kz+GAvc="; + }; + + cargoHash = "sha256-ax+/lvdEOjLnwE3Gvji7aaeF9KXjoOXdlTvxYDo8wGI="; + + nativeBuildInputs = [ pkg-config ]; + + buildInputs = [ dbus ]; + + meta = { + description = "Linux controller for the Nothing Ear (2)"; + homepage = "https://gitlab.com/bharadwaj-raju/ear2ctl"; + maintainers = with lib.maintainers; [ jaredmontoya ]; + license = lib.licenses.gpl3Plus; + platforms = lib.platforms.linux; + mainProgram = "ear2ctl"; + }; +}