13 libgeneral = clangStdenv.mkDerivation rec {
16 src = fetchFromGitHub {
19 rev = "refs/tags/${version}";
20 hash = "sha256-6aowcIYssc1xqH6kTi/cpH2F7rgc8+lGC8HgZWYH2w0=";
21 # Leave DotGit so that autoconfigure can read version from git tags
30 description = "Helper library used by usbmuxd2";
31 homepage = "https://github.com/tihmstar/libgeneral";
32 license = licenses.lgpl21;
33 platforms = platforms.all;
38 clangStdenv.mkDerivation rec {
40 version = "unstable-2023-12-12";
42 src = fetchFromGitHub {
45 rev = "2ce399ddbacb110bd5a83a6b8232d42c9a9b6e84";
46 hash = "sha256-UVLLE73XuWTgGlpTMxUDykFmiBDqz6NCRO2rpRAYfow=";
47 # Leave DotGit so that autoconfigure can read version from git tags
52 # Checking for libgeneral version still fails
53 sed -i 's/libgeneral >= $LIBGENERAL_MINVERS_STR/libgeneral/' configure.ac
63 propagatedBuildInputs = [
71 "--with-udevrulesdir=${placeholder "out"}/lib/udev/rules.d"
72 "--with-systemdsystemunitdir=${placeholder "out"}/lib/systemd/system"
76 "sbindir=${placeholder "out"}/bin"
80 homepage = "https://github.com/tihmstar/usbmuxd2";
81 description = "Socket daemon to multiplex connections from and to iOS devices";
82 license = licenses.lgpl3;
83 platforms = platforms.linux;
84 maintainers = with maintainers; [ onny ];
85 mainProgram = "usbmuxd";