14 stdenv.mkDerivation rec {
16 version = "unstable-2024-03-12";
22 src = fetchFromGitHub {
25 rev = "8563e1655bd9bb1f249e6552cc6274d506ee788b";
26 hash = "sha256-E7NNCxYq9dyVvutWbpl2a+D2Ap2ErvdYHBDqpX0kb0c=";
31 url = "https://github.com/Nelarius/imnodes/commit/ff20336fcd82ce07c39fabd76d5bc9fa0a08b3bc.patch";
32 hash = "sha256-JHOUjwMofDwt2kg6SLPFZmuQC4bOfjGa3qHFr5MdPIE=";
36 nativeBuildInputs = [ cmake ];
39 ++ lib.optionals withExamples [
44 cmakeFlags = [ (lib.cmakeBool "IMNODES_EXAMPLES" withExamples) ];
46 passthru.tests.examples = imnodes.override { withExamples = true; };
49 description = "Small, dependency-free node editor for dear imgui";
50 homepage = "https://github.com/Nelarius/imnodes";
51 license = lib.licenses.mit;
52 maintainers = with lib.maintainers; [ SomeoneSerge ];
53 mainProgram = "imnodes";
54 platforms = lib.platforms.all;