1: { callCabal2nixWithPlan }: { 2: can-build-json-to-msgpack = with { 3: # Try to build some Haskell project; this one's nice and small 4: src = fetchGit { 5: url = "http://chriswarbo.net/git/json-to-msgpack.git"; 6: ref = "master"; 7: rev = "07bf1f3ddc7c46fae7095ec8e496defc357882ce"; 8: }; 9: }; 10: callCabal2nixWithPlan { 11: inherit src; 12: name = "json-to-msgpack"; 13: }; 14: }